Skip to main content

PHP FPM - impossible to validate new configuration

Comments

6 comments

  • cPanelMichael
    Hello @sebosiris, I'm happy to try reproducing this on a test system for you. Can you verify the specific steps you are taking after making the PHP-FPM configuration changes to test those new values? Thank you.
    0
  • sebosiris
    Hello, Thank you. The first thing I do is check the log location and the level of logging. Based on the default configuration, logs are located at /opt/cpanel/ea-php71/root/usr/var/log/php-fpm/error.log. After rebuilding the /scripts/php_fpm_config --rebuild and restarting PHP-FPM, the log location should be in /var/log/php-pfm/fpm_error.log with a level of logging set to WARNING but everything is still the same. Logs are still being updated (tail -f) at a NOTICE level. Even if I create the log fie manually, logs are still being written to the old location with NOTICE level. And my cache config file (domain.php-fpm.cache) still shows only the basic config so I think it is the problem of regenerating the cache: {"_is_present":1}
    Many thanks sebastien
    0
  • cPanelMichael
    Hello @sebosiris, Can you open a
    0
  • sebosiris
    Hello, I have created a ticket as requested: Support Request ID is: 9698559 Many thanks sebastien
    0
  • sebosiris
    I will close this post and the ticket associated. I used the wrong syntax without realising. I should have used "colon" instead of "equal". All good now :)
    0
  • cPanelMichael
    I will close this post and the ticket associated. I used the wrong syntax without realising. I should have used "colon" instead of "equal". All good now :)

    I'm glad to see the issue is now solved. Thank you for sharing the outcome.
    0

Please sign in to leave a comment.