Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ServerOk

Pages: [1]
1
Apache / PHP not working
« on: April 06, 2019, 03:26:01 AM »
On new CWP Server, PHP not working. When i visit wbe site, i get error

Code: [Select]
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

Code: [Select]
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

Code: [Select]
[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 ?





Pages: [1]