php-fpm socket

Константин Носов 6 year бұрын жаңартылды 5 year бұрын 2
Hello! I need to change php-fpm config for site on debian machine managed by ajenti

listen = /var/run/php-fcgi-websitename-php-fcgi-0.sock
change to to
listen =;

but unfortunately ajenti rewrites my changes when restarts
Is there any way to do that?
I've done a hard fix.

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

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