• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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