On Saturday, March 15, 2025 10:10:44 AM CDT Mike Fischer wrote:
> Sorry, the filename is /etc/php-8.1.ini of course, not .conf.
>
> > Am 15.03.2025 um 15:52 schrieb Mike Fischer :
> >
> > I think I found the culprit:
> >
> > /etc/php-8.1.conf contained this line:
> > extension_dir = "MODULES_DIR
After upgrading from php-8.1.31 to php-8.1.32 using `pkg_add -u`
I am encountering some PHP warnings I have not seen before:
$ php-8.1 -v
PHP Warning: Failed loading Zend extension 'opcache.so' (tried:
MODULES_DIR/opcache.so (File not found), MODULES_DIR/opcache.so.so (File not
found)) in Unkn
Sorry, the filename is /etc/php-8.1.ini of course, not .conf.
> Am 15.03.2025 um 15:52 schrieb Mike Fischer :
>
> I think I found the culprit:
>
> /etc/php-8.1.conf contained this line:
> extension_dir = "MODULES_DIR"
>
> Instead of:
> extension_dir = /usr/local/lib/php-8.1/modules
>
> After c
hmm, I will take a look in a bit, the 8.1.31 packages are still in the
packages-stable dir if you need to downgrade
--
Sent from a phone, apologies for poor formatting.
On 15 March 2025 14:23:43 Mike Fischer wrote:
After upgrading from php-8.1.31 to php-8.1.32 using `pkg_add -u`
I am encou
I think I found the culprit:
/etc/php-8.1.conf contained this line:
extension_dir = "MODULES_DIR"
Instead of:
extension_dir = /usr/local/lib/php-8.1/modules
After correcting this it worked fine:
$ php-8.1 -v
PHP 8.1.32 (cli) (built: Mar 14 2025 07:05:24) (NTS)
Copyright (c) The PHP Group
Zend En