lampTermux
lampTermux copied to clipboard
php8 opcache inactive
Hi, How to enable opcache in php? I tried to create php.ini in lib folder with contents:
[opcache] opcache.enable = 1 zend_extension=opcache.so
but no luck...
error log: Failed loading /data/data/com.termux/files/usr/lib/php/opcache.so: dlopen failed: cannot locate symbol "zend_signal_globals" referenced by "/data/data/com.termux/files/usr/lib/php/opcache.so"...
on php cli works fine: php -i | grep opcache opcache.enable => On => On