Control Web Panel
		WebPanel => PHP => Topic started 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?
- 
				cwp uses suphp any opcache will not work
			
- 
				http://wiki.centos-webpanel.com/php-opcache-xcache-apc-varnish
			
- 
				But CWP finally has support for DSO and PHP-FPM handlers, so OpCache should work now?
			
- 
				how can i disable suphp & change to php-fpm with opcache ?
			
- 
				http://forum.centos-webpanel.com/php/install-php-7-2-4-and-php-fpm-on-centos-web-panel/