Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: LIncolnparker on June 30, 2019, 02:55:44 PM

Title: CWP PHP-FPM!!
Post by: LIncolnparker on June 30, 2019, 02:55:44 PM
Hi guys,

i've buy pro license for my CWP and configured to standar Nginx+varnish+Apache already for single domain not multiple domain, and i've configured fcgi too

my CWP has been consuming big CPU Resources, everage 90-100% consumption with 15 visitors in mywebsite.
i knew it was about CWP using php-cgi by default,

my question is how to switch php-cgi (Default CWP php handler) to php-fpm  ?

php-cgi eating too many CPU resources even using varnish for caching

Title: Re: CWP PHP-FPM!!
Post by: evansa on July 01, 2019, 01:19:56 AM
go to cwp.Admin -> webserver settings -> select webservers -> select your webserver combination and select PHP-FPM version you have installed.

Please check the box -  Force Apache to use PHP-FPM Selector, this will disable PHP Selector 2 and PHP Version Switcher.