Skip to main content

PHP-FPM custom configuration for subdomain

Comments

3 comments

  • cPanelMichael
    Hello @andreluiz, It's not currently possible to modify the value using Web Host Manager (though that is planned for a future version). We have a guide on how to make the change for an individual domain (or subdomain) at: Let me know if following the instructions on the above resource helps. Thank you.
    0
  • andreluiz
    Well, I did as described in the guide. Apparently, it didn't work because phpinfo still showed exec inside disable_function, but the PHP script worked normally as if exec was not disabled. That's strange, anyway, just in case, I did the same thing I did in my first post, just to guarantee that exec will work.
    0
  • cPanelMichael
    Apparently, it didn't work because phpinfo still showed exec inside disable_function, but the PHP script worked normally as if exec was not disabled.

    Hello @andreluiz, This is an artifact of how PHP and PHP-FPM work together. It's noted under the Caveat - PHP_INI_SYSTEM mode section in the linked resource. Thank you.
    0

Please sign in to leave a comment.