-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache Unable to load PHP OPCache extension #5482
Comments
Are you sure have installed opcache.so? |
Output of |
It seems to be looking for opache.so.so now, maybe your php.ini should contain
instead of
? |
Php finding libs with ".so" and without ".so", i think that is optional.
|
@Cvar1984 you are right, thanks. So this is essentially the same issue as #2479 so I'll close this in favour of that one so that we are tracking this in a single issue. One workaround is to I am using a termux-services script for httpd containing
to workaround a similar issue. |
Problem description
Apache unable to load PHP OPCache extension. Verified using phpinfo(). When running phpinfo() in terminal I get
Opcode Caching => Up and Running
Relevant apache error_log
PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /data/data/com.termux/files/usr/lib/php/opcache.so (dlopen failed: cannot locate symbol "PHP_MD5Update" referenced by "/data/data/com.termux/files/usr/lib/php/opcache.so"...), /data/data/com.termux/files/usr/lib/php/opcache.so.so (dlopen failed: library "/data/data/com.termux/files/usr/lib/php/opcache.so.so" not found)) in Unknown on line 0
Steps to reproduce
Load php module in apache
Enable OPCache in php by editing php.ini and adding line
zend_extension = opcache.so
Additional information
The text was updated successfully, but these errors were encountered: