M
MarkusLotus
Guest
Hi
just installed everything
is there any easy way to enable mod_fastcgi with php-fpm? instead of fcgid
in cpanel it was pretty easy to do, just add this in virtual host include:
Main::Service Configuration::Apache Configuration::Include Editor
<IfModule mod_fastcgi.c>
FastCGIExternalServer /usr/sbin/php-fpm -host 127.0.0.1:9000
AddHandler php-fastcgi .php
Action php-fastcgi /usr/sbin/php-fpm.fcgi
ScriptAlias /usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm
</IfModule>
but it doesnt wokr with plesk, it keep running as php5-cgi
i have changed everything, maybe i forgot something?
thank you
just installed everything
is there any easy way to enable mod_fastcgi with php-fpm? instead of fcgid
in cpanel it was pretty easy to do, just add this in virtual host include:
Main::Service Configuration::Apache Configuration::Include Editor
<IfModule mod_fastcgi.c>
FastCGIExternalServer /usr/sbin/php-fpm -host 127.0.0.1:9000
AddHandler php-fastcgi .php
Action php-fastcgi /usr/sbin/php-fpm.fcgi
ScriptAlias /usr/sbin/php-fpm.fcgi /usr/sbin/php-fpm
</IfModule>
but it doesnt wokr with plesk, it keep running as php5-cgi
i have changed everything, maybe i forgot something?
thank you
Last edited by a moderator: