How to disable PHP-OPcache on php8.5+ per user/site or for WHMCS
Apparently WHMCS is complaining about opcache in the recently updated to php8.5.
Adding opcache.enable = 0 and opcache.enable_cli = 0 the the domain's php.ini file does nothing..
How can we disable it for the whmcs domain/site without affecting the rest of the users?
-
Hey there! I wouldn't recommend manually editing the php.ini directly, as that could get overwritten by other changes in the interface.
If you try this directly from the cPanel >> Multi PHP INI Editor page do you get the same result? If so, are you able to create a PHP Info page (https://support.cpanel.net/hc/en-us/articles/360052760494-How-to-use-a-PHPInfo-file-for-troubleshooting-PHP-issues) and confirm that file is being read properly?
0
Please sign in to leave a comment.
Comments
1 comment