Control Web Panel
WebPanel => Apache => Topic started by: ServerOk on April 06, 2019, 03:26:01 AM
-
On new CWP Server, PHP not working. When i visit wbe site, i get error
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The site is set to use following socket file
proxy:unix:/opt/alt/php-fpm56/usr/var/sockets/sokcwp.sock
This file does not exist. User config for this pool is missing, only nobody.conf exists
[root@vps43443758 ~]# ls -l /opt/alt/php-fpm56/usr/etc/php-fpm.d/users
total 4
-rw-r--r-- 1 root root 629 Apr 6 02:38 nobody.conf
[root@vps43443758 ~]#
If i manually create
/opt/alt/php-fpm56/usr/etc/php-fpm.d/users/sokcwp.conf
PHP start working, but this file get deleetd if i do some changes in server setting.
Why CPW is not creating pool config for the web site user ?
-
you need to use Webservers domain conf module and enable there php-fpm once you have enabled it if fpm is not working then you can check the webserver's logs to get an issue info
/var/log/cwp/webservers.log
-
Thanks for the reply. Customer got cpanel license. WIll check the log next time.