Control Web Panel

WebPanel => PHP => Topic started by: Gabri_91 on July 03, 2016, 10:02:48 AM

Title: PHP OpCache
Post by: Gabri_91 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?
Title: Re: PHP OpCache
Post by: Sandeep on July 04, 2016, 12:17:13 PM
cwp uses suphp any opcache will not work
Title: Re: PHP OpCache
Post by: Administrator on July 04, 2016, 12:37:05 PM
http://wiki.centos-webpanel.com/php-opcache-xcache-apc-varnish
Title: Re: PHP OpCache
Post by: dg1 on June 12, 2018, 02:23:18 AM
But CWP finally has support for DSO and PHP-FPM handlers, so OpCache should work now?
Title: Re: PHP OpCache
Post by: nelsonwan on June 29, 2018, 02:08:49 AM
how can i disable suphp & change to php-fpm with opcache ?
Title: Re: PHP OpCache
Post by: bullten on June 29, 2018, 05:08:17 AM
http://forum.centos-webpanel.com/php/install-php-7-2-4-and-php-fpm-on-centos-web-panel/