Introduction
The FPM status page allows you to view FPM pool information like below:
Procedure
1. Create /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml if you do not already have it:
touch /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
2. Add the following entry to /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
pm_status_path: /status.phtml
3. Rebuild the FPM configuration:
/scripts/php_fpm_config --rebuild
4. Create a status.phtml page within the document root of the desired domain:
touch /home/$user/public_html/status.phtml
5. Add the following to the file and save:
<html></html>
6. The finally reload the FPM daemon:
/scripts/restartsrv_apache_php_fpm --reload
Afterwards you should be able to view the PHP-FPM pool information by going to domain.com/status.phtml. To view the full status list you can visit domain.com/status.phtml?full instead.
Comments
0 comments
Article is closed for comments.