Plesk override PHP-FPM settings Print

  • 0

In the case where your server uses the Plesk control panel and your domain in question executes PHP as FPM and you need to override one of Plesk's default settings, i.e.:

  • Login via SSH as root
  • Create the following file:
    /var/www/vhosts/system/[example.com]/conf/php.ini​
    with the following syntax:
    [php-fpm-pool-settings]
    //your custom FPM directives here​
    for example:
    [php-fpm-pool-settings]
    pm.max_children = 25​
    Then run the following command:
    /usr/local/psa/bin/php_settings -u​

Was this answer helpful?

« Back