+5
php-fpm socket
Hello! I need to change php-fpm config for site on debian machine managed by ajenti
line
listen = /var/run/php-fcgi-websitename-php-fcgi-0.sock
change to to
listen = 127.0.0.1:9000;
but unfortunately ajenti rewrites my changes when restarts
Is there any way to do that?
line
listen = /var/run/php-fcgi-websitename-php-fcgi-0.sock
change to to
listen = 127.0.0.1:9000;
but unfortunately ajenti rewrites my changes when restarts
Is there any way to do that?
Customer support service by UserEcho
There is no way to edit this config in Ajenti, that's why I edited Ajenti
nano /var/lib/ajenti/plugins/vh-php-fpm/phpfpm.py
change corresponding section
after
python
>>> import py_compile
>>> py_compile.compile('phpfpm.py')
after that ajenti will recreate config in a right way.
don't you mind to add choice to use socks or port for communication?