• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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