Applicable to:
- Plesk Onyx for Linux
Symptoms
-
Unable to apply PHP-FPM settings in Plesk > Domains > example.com > PHP settings with the following error:
PLESK_ERROR: Error: phpinimng failed: Unable to update the config file for 'fpm' service due to syntax errors.
-
pm has a dynamic status.
Cause
Incorrect values for the following PHP FPM settings:
- pm.start_servers
- pm.min_spare_server
- pm.max_spare_servers
Resolution
Set the values for PHP FPM settings according to the following rules:
- pm.min_spare_servers and pm.max_spare_servers cannot be greater than pm.max_children.
- pm.max_spare_servers must not be less than pm.min_spare_servers.
- pm.start_servers must not be less than pm.min_spare_servers and not greater than pm.max_spare_servers.
Comments
0 comments
Please sign in to leave a comment.