APCu load order issue after installing with EasyApache 4
I am getting the following error in error_log after installing APCu within WHM on PHP 7.3:
[QUOTE]
PHP Startup: Unable to load dynamic library 'apc.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/apc.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/apc.so: undefined symbol: zif_apcu_store
I've researched a dozen or so threads on this issue and all seem to point to load order: " the extension will be automatically enabled in php.ini. This is fine but it results in a reverse order of "extension=.so" directive. As "apcu_bc" (compiled as apc.so) depends on apcu which needs to be loaded first.
[QUOTE]The output means you are trying to load apc before apcu, which shouldn't happens thanks to the .ini names which ensure correct load order (40-apcu.ini is before 50-apc.ini)
I've tried uninstalling/reinstalling and restarting Apache as other threads recommended, didn't fix. How can I set the proper order via WHM? Every thread I've seen just says just to do it but now how. Thanks!
I've researched a dozen or so threads on this issue and all seem to point to load order: " the extension will be automatically enabled in php.ini. This is fine but it results in a reverse order of "extension=.so" directive. As "apcu_bc" (compiled as apc.so) depends on apcu which needs to be loaded first.
[QUOTE]The output means you are trying to load apc before apcu, which shouldn't happens thanks to the .ini names which ensure correct load order (40-apcu.ini is before 50-apc.ini)
I've tried uninstalling/reinstalling and restarting Apache as other threads recommended, didn't fix. How can I set the proper order via WHM? Every thread I've seen just says just to do it but now how. Thanks!
Please sign in to leave a comment.
Comments
0 comments