• 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.

Requirements for Running PHP-FPM Handlers

smirking

New Pleskian
I have a new install of Plesk 12.5 and I'm running into an issue with enabling the PHP-FPM handlers. Even though they're set as enabled in my PHP Settings and I've configured all of the subscriptions to default to a PHP-FPM handler, the only handlers I'm allowed to choose are the FastCGI or CGI versions. "FPM Application Served by nginx" is never displayed no matter what I do.

When I view my Services panel at /plesk/server/services/ the only PHP-FPM that's enabled is "PHP-FPM 5.4.45 by OS vendor". All of the other PHP-FPM versions display, but are greyed out and cannot be started.

I tried running "plesk repair install" and "plesk repair web" from the command line, but that didn't help. I also tried creating a new subscription and created a new test domain to see if maybe my migrated settings were causing problems, but my fresh domain and subscription also failed.

I'm running Apache 2.2 and CentOS6. Is Apache 2.4 required to run PHP-FPM?
 
In case this matters... consulted this knowledgebase article to try and start php-fpm from the command line:
https://kb.odin.com/en/127195

Trying to start a php-fpm process from the command line results in the "No pool defined" error. The knowledgebase says to fix this, I need to enable at least one domain to use a php-fpm handler, but I'm unable to assign any domain to use php-fpm.
 
Ok, I'm going to answer my own question here. Yes, you can run php-fpm with CentOS 6 and Apache 2.2. If you're having issues getting php-fpm to be selectable for a domain, you may have experienced the same issue I did. I had a problem with nginx. It actually wasn't running. You'll know that this is part of your issue if you go to the Apache + nginx settings in the domain configurations and it doesn't give you any options for adding custom directives to nginx.
 
When I view my Services panel at /plesk/server/services/ the only PHP-FPM that's enabled is "PHP-FPM 5.4.45 by OS vendor". All of the other PHP-FPM versions display, but are greyed out and cannot be started.
Trying to start a php-fpm process from the command line results in the "No pool defined" error. The knowledgebase says to fix this, I need to enable at least one domain to use a php-fpm handler
That is normal behaviour. If there are no domains set to use a particular PHP-FPM version then the option will be greyed out and will not start. If you move a domain to one of the greyed out versions you'll find it starts itself.
This tripped me up and wasted a few hours when I first saw it.
but I'm unable to assign any domain to use php-fpm.
Haven't experienced this so not much help :(
 
That is normal behaviour.

I know, but I was unable to assign anything to use php-fpm. After a lot of wrestling, it became evident that nginx was not running at all and php-fpm is tied to nginx in Plesk. No nginx means no php-fpm.

I had some issues with getting nginx started, but I worked it out and was then able to use my php-fpm handlers.
 
Glad to hear you got it sorted
clear.png
;)
 
Back
Top