• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

PHP-FPM with Apache on Plesk 12.5 / CentOs 6

Khorne

New Pleskian
Hi,

I have a problem with one of my Plesk installations.

I'm currently running Plesk 12.5 on CentOs 6. I want to use PHP-FPM 5.6 with Apache (without Nginx running).
In hosting settings in my subscriptions I have only the choice between :
- run PHP as CGI application (served by Apache)
- run PHP as FastCGI application (served by Apache)

If I enable Nginx service, then I have a third choice:
- run PHP as FPM application served by Nginx


On another server, running Plesk 12.5 on CentOs 7 with Nginx disabled, I have this additionnal choice:
- run PHP as FPM application (served by Apache)


And if I try to manually start "/etc/rc.d/init.d/plesk-php56-fpm" I get the following error :

[18-Jan-2016 20:56:30] WARNING: Nothing matches the include pattern '/opt/plesk/php/5.6/etc/php-fpm.d/*.conf' from /opt/plesk/php/5.6/etc/php-fpm.conf at line 119.
[18-Jan-2016 20:56:30] ERROR: No pool defined. at least one pool section must be specified in config file
[18-Jan-2016 20:56:30] ERROR: failed to post process the configuration
[18-Jan-2016 20:56:30] ERROR: FPM initialization failed

If any one could help me.

Best regards
 
Thank you but this doesn't solve my problem.

Even if the error is only cosmetic, the service plesk-php56-fpm don't start, and in hosting settings the handler "run PHP as FPM application" is not listed.

Like I said, it works on CentOS 7 but not on CentOS 6
 
Hi Khorne,
I think it's due to the fact that Apache 2.2 (shipped with Centos 6) don't support PHP-FPM server by Apache.

I had the same problem and upgraded my boxes to Centos 7 (that come with Apache 2.4) to get the Apache/FPM support out of the box.
 
Hi Khorne,
I think it's due to the fact that Apache 2.2 (shipped with Centos 6) don't support PHP-FPM server by Apache.

I had the same problem and upgraded my boxes to Centos 7 (that come with Apache 2.4) to get the Apache/FPM support out of the box.

I didn't think about that. But after your post, I did some research, and it seems that some people can run PHP-FPM with Apache 2.2 :

https://www.linode.com/docs/websites/apache/running-fastcgi-php-fpm-on-debian-7-with-apache
http://serverfault.com/questions/549965/setting-up-apache-2-2-fastcgi-suexec-php-fpm-on-centos-6
 
Back
Top