PHP OpCache

Started by Gabri_91, July 03, 2016, 10:02:48 AM

Previous topic - Next topic

Gabri_91

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?

Sandeep

cwp uses suphp any opcache will not work


dg1

But CWP finally has support for DSO and PHP-FPM handlers, so OpCache should work now?

nelsonwan

how can i disable suphp & change to php-fpm with opcache ?