Author Topic: PHP OpCache  (Read 23437 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP OpCache
« on: July 03, 2016, 10:02:48 AM »
Good morning,
I'd like to enable PHP OpCache on CWP, so I've followe these steps:
- Rebuild PHP 5.6.14 adding --enable-opcache
- Changhed /usr/local/php/php.ini adding zend_extension to opcache.so and opcache.enable=1
- Restart apache

Now in phpinfo I have Opcode Caching => Up and Running
but using both https://github.com/rlerdorf/opcache-status and https://github.com/amnuts/opcache-gui
I cannot see any script optimized or any hint..

What could be the problem?

Offline
*****
Re: PHP OpCache
« Reply #1 on: July 04, 2016, 12:17:13 PM »
cwp uses suphp any opcache will not work

Offline
*
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: PHP OpCache
« Reply #3 on: June 12, 2018, 02:23:18 AM »
But CWP finally has support for DSO and PHP-FPM handlers, so OpCache should work now?

Offline
*
Re: PHP OpCache
« Reply #4 on: June 29, 2018, 02:08:49 AM »
how can i disable suphp & change to php-fpm with opcache ?