Control Web Panel
WebPanel => PHP => Topic started by: abir 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 :)
-
Please are using CWPpro?
-
Please are using CWPpro?
Using the Pro version.
-
Please rebuild webservers again and post the logs of the following here
tail -f /var/log/cwp/webservers.log
-
Still the same problem newest CWP and 7.3, but i add manually config to sockets to users...
but is not enought.