Hi. I am having some issues getting ZendOpcache to run on my CloudLinux system using Native PHP5.4
I can successfully get ZendOpcache to run on PHP Selector by checking opcache from PHP settings, but that leads to another issue.
My two issues are these:
1) How do I enable ZendOpcache to run on Native PHP 5.4 (So all users can benefit from it) while running LSAPI?
I have used PECL to install ZendOpcache for PHP 5.4 and saw some issues in the output where the script is looking for zendopcache.so but it only puts opcache.so under extensions in php.ini. Either way when mapping the correct file and setting the .so file to 755 like the others in that directory, ZendOpcache fails to register in PHPInfo.
2) How do I make changes to PHP Selector 5.4 ini files that have ZendOpcache enabled so I can configure the ZendOpcache settings so I can configure stuff like (how long it caches for instead of a few seconds, how big the cache is, etc)?
I have tried editing cagefsctl -e USERNAME to adjust the alt-php.ini for that account, and that doesn't work. I have also tried editing /opt/alt/php54/etc/php.d.all/opcache.ini and adding the requested changes to that file, executing cagefsctl --rebuild-alt-php-ini, and still I ending up with nothing.
Please advise on how to get either method to run correctly, as I would prefer a global PHP 5.4 with ZendOpcache and LSAPI.
I can successfully get ZendOpcache to run on PHP Selector by checking opcache from PHP settings, but that leads to another issue.
My two issues are these:
1) How do I enable ZendOpcache to run on Native PHP 5.4 (So all users can benefit from it) while running LSAPI?
I have used PECL to install ZendOpcache for PHP 5.4 and saw some issues in the output where the script is looking for zendopcache.so but it only puts opcache.so under extensions in php.ini. Either way when mapping the correct file and setting the .so file to 755 like the others in that directory, ZendOpcache fails to register in PHPInfo.
2) How do I make changes to PHP Selector 5.4 ini files that have ZendOpcache enabled so I can configure the ZendOpcache settings so I can configure stuff like (how long it caches for instead of a few seconds, how big the cache is, etc)?
I have tried editing cagefsctl -e USERNAME to adjust the alt-php.ini for that account, and that doesn't work. I have also tried editing /opt/alt/php54/etc/php.d.all/opcache.ini and adding the requested changes to that file, executing cagefsctl --rebuild-alt-php-ini, and still I ending up with nothing.
Please advise on how to get either method to run correctly, as I would prefer a global PHP 5.4 with ZendOpcache and LSAPI.