PHP-FPM catch_workers_output

Discussion in 'General' started by M4thijs, Feb 16, 2026 at 12:20 AM.

  1. M4thijs

    M4thijs New Member

    Hi, is there a way to set "catch_workers_output = yes" in the panel? I have been looking but cannot find it.
    If there is not, what would be the ISPConfig safe way of setting it to yes?
     
  2. remkoh

    remkoh Well-Known Member HowtoForge Supporter

    Try setting it in the "Custom php.ini settings" field on the website's Options tab.
     
  3. M4thijs

    M4thijs New Member

    Well i already tried that, but that will be overridden by the pool template and because of that it would still not show STDOUT/STDERR.
    I know how to set it, but that will be overwritten by ISPConfig. So my question is how to set it in a ISPConfig safe way so it will not get overwritten. I understand why it is set to no on a production server, but for a dev server it would be nice if it would have "catch_workers_output = yes" in the pool. If it is not in the panel anywhere, i bet it is in a template somewhere. But how do i set it custom without it getting overwritten when i would do a ispconfig_update.sh ?
     
  4. remkoh

    remkoh Well-Known Member HowtoForge Supporter

    You can safely adjust php.ini and general pool settings (www.conf).
    Those files aren't touched by ispconfig.
    And since the website's pool file doesn't contain that setting you should be good to go after changing www.conf and restarting php.

    Or you can copy /usr/local/ispconfig/server/conf/php_fpm_pool.conf.master to /usr/local/ispconfig/server/conf-custom/php_fpm_pool.conf.master and add the setting in there.
    Update your website in ispconfig afterwards to update its pool file (for example by disabling and re-enabling php).
     
  5. M4thijs

    M4thijs New Member

    That is exactly what i was looking for, thank you.
     

Share This Page