Author Topic: PHP-FPM not generating user config file  (Read 9600 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP-FPM not generating user config file
« on: June 15, 2019, 05:46:12 PM »
Hello,

This is my first post here. I encountered an weird issue with PHP-FPM in CWP. We are running PHP 7.2 with PHP-FPM. CWP runs just fine but whenever we're adding a vhost, we're getting permission issue. Obviously the permissions are correct and I double checked it.
It seems the configuration in apache config file is mentioning this config file for PHP-FPM:

proxy:unix:/opt/alt/php-fpm72/usr/var/sockets/example.sock|fcgi://localhost

But there is no such configuration file created in that folder (screenshot attached)

https://i.imgur.com/qVWBOoo.png

Shouldn't it create the configuration file automatically? We can run the vhosts with nobody.sock file but that isn't any doing us any good since we cannot modify any files at all. PHP-FPM doesn't let us modify the files from website since it runs on nobody user.

Any known fix for this? Help would be greatly appreciated.

Thanks in advance :)

Offline
**
Re: PHP-FPM not generating user config file
« Reply #1 on: June 15, 2019, 08:32:56 PM »
Please are using CWPpro?

Offline
*
Re: PHP-FPM not generating user config file
« Reply #2 on: June 15, 2019, 08:52:10 PM »
Please are using CWPpro?

Using the Pro version.

Offline
**
Re: PHP-FPM not generating user config file
« Reply #3 on: June 16, 2019, 09:00:23 AM »
Please rebuild webservers again and post the logs of the following here

tail -f /var/log/cwp/webservers.log

Offline
*
Re: PHP-FPM not generating user config file
« Reply #4 on: July 12, 2019, 08:42:50 PM »
Still the same problem newest CWP and 7.3, but i add manually config to sockets to users...
but is not enought.
« Last Edit: July 12, 2019, 09:21:56 PM by skyref »