• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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