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

Resolved File not found. on PHP-FPM status page!

Hi Plesk Community,

I am following the following Plesk tutorial: How to monitor PHP-FPM instances.

In my www.conf I uncommented "pm.status_path = /status" and the http://serverip/status seems to work. (response code 200). But the page says: File not found.

What am I doing wrong?

My nginx:

location /status {

fastcgi_split_path_info ^((?U).+\\.php)(/?.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_pass "unix:///var/www/vhosts/system/mywebsite.nl/php-fpm.sock";
include /etc/nginx/fastcgi.conf;
}

Thanks in advance.
 
Tested serveral different approaches and can confirm that is is not working, e.g.

Code:
location ~ ^/(status|ping)$ {
   fastcgi_split_path_info ^((?U).+\\.php)(/?.+)$;
   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
   fastcgi_pass "unix:///var/www/vhosts/system/MY-TEST-DOMAIN.TLD/php-fpm.sock";
   include /etc/nginx/fastcgi.conf;
}

and other fastcgi_param lines that can be found in articles on the Internet; with "FPM application served by Nginx", all leading to "File not found" output. Posted a question on the How to monitor PHP-FPM instances page on this.

@UFHH01 suggests a solution in PHP-FPM status page on Plesk + NGINX proxy , but this doesn't work for me.
 
Tested serveral different approaches and can confirm that is is not working, e.g.

Code:
location ~ ^/(status|ping)$ {
   fastcgi_split_path_info ^((?U).+\\.php)(/?.+)$;
   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
   fastcgi_pass "unix:///var/www/vhosts/system/MY-TEST-DOMAIN.TLD/php-fpm.sock";
   include /etc/nginx/fastcgi.conf;
}

and other fastcgi_param lines that can be found in articles on the Internet; with "FPM application served by Nginx", all leading to "File not found" output. Posted a question on the How to monitor PHP-FPM instances page on this.

@UFHH01 suggests a solution in PHP-FPM status page on Plesk + NGINX proxy , but this doesn't work for me.

Thanks Peter, do you have further information about this?
 
No, I did indeed test further a day later, but was unsuccessful with everything I tried. Still waiting on the question I attached to the FAQ article to be published and maybe even answered. The FAQ article seems to be incorrect on this or maybe unprecise. Something is missing that we don't know about and that we cannot find out.
 
I'm trying to reach the fpm status page with FPM served by Apache.
The solution on this KB article may work, but I don't want to enable FPM served by Nginx.
I'm trying to figure how Apache relay PHP requests to FPM but can't find answers.
This page Apache with nginx seems to forget to speak about FPM served by Apache ...
Any clue about that ?
 
Is there any reason why the mentioned Plesk KB article has been removed? The link is no longer working.
 
Back
Top