Issue
When trying to enable Object Cache, we get the following warning:
Even if the "snuffleupagus" extension is disabled.
Environment
- CloudLinux OS
- AccelerateWP
- ALT-PHP
Solution
AccelerateWP has a security check for this extension, but it doesn't check if it's enabled or not, but rather, if it's installed. Specifically, it looks for the "snuffleupagus.so" file within the PHP modules directory. For example:
# find /opt/alt/php*/usr/lib64/php/modules -name "snuffleupagus*" -type f
/opt/alt/php71/usr/lib64/php/modules/snuffleupagus.so
/opt/alt/php72/usr/lib64/php/modules/snuffleupagus.so
/opt/alt/php73/usr/lib64/php/modules/snuffleupagus.so
/opt/alt/php74/usr/lib64/php/modules/snuffleupagus.so
/opt/alt/php80/usr/lib64/php/modules/snuffleupagus.so
As long as the above files are present, it will show the error. Alternatives to resolve the issue could be renaming the above files, which can be done by running:
# find /opt/alt/php*/usr/lib64/php/modules -name "snuffleupagus*" -type f -exec mv {}{,.bk} \;
Or simply removing the "snuffleupagus" extension via yum:
# yum remove alt-php*-snuffleupagus
Cause
Internal product issue CLPRO-1952
Comments
0 comments
Please sign in to leave a comment.