• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue with PHP-FPM for Nginx

Khorne

New Pleskian
One of my server is running CentOS 6.7 with Plesk 12.5.

For my websites, I have installed support for PHP 5.6.

So in the settings of my websites, I have selected :

"PHP version 5.6.17, run PHP as FPM application served by nginx"

But if I do a phpinfo(), it is still PHP 5.3 that is reported as the running version.

If I select PHP version 5.6.17 as FastCGI server by Apache, then phpinfo() return correctly version 5.6.17.

Does someone know how to make PHP-FPM with Nginx works?

Regards
 
I can't reproduce this issue on my test Plesk server.
Try to run at least:

# plesk bin php_handler --reread

for fixing this issue.
 
The command runned well : "The information about PHP handlers was successfully updated."

But that didn't fixed the problem. It still PHP 5.3 that is reported instard of PHP 5.6.

Is there more information I can provide you? On this server, it was first Plesk 12.0 installed then it was updated to 12.5.
 
But if I do a phpinfo(),
Do you mean that you click on link in Plesk interface? Have you tried switch php handler for this domain and check that phpinfo() is correct for other handlers?
 
I've tried both method for phpinfo() :
- The link directly in Plesk interface
- A phpinfo directly in my code

And yes I've tried other handlers and the phpinfo() is correct for them. Only PHP-FPM with Nginx don't work.
 
Back
Top