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 - abir

Pages: [1]
1
PHP / 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 :)

Pages: [1]