• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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