• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Upgraded 11.0.9 , where is my php 5.3.10?

M

MarkusLotus

Guest
How to enable and run Apache with php5-fpm not php5-cgi?

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:
<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:
You could try doing the same with /var/www/vhosts/domain.com/conf/vhost.conf and the rebuild the vhosts
 
Back
Top