Skip to main content

cPanel MultiPHP INI Editor issue

Comments

3 comments

  • cPanelMichael
    Hello @Dhaupin, I've moved this post to a separate thread. Here's a link to a post with a workaround when configuring custom PHP values when PHP-FPM is enabled: PHP-FPM and PHP.INI Thank you.
    0
  • Dhaupin
    Ah thanks. Interesting workaround, I suppose :) In our case that would be a bunch of manual work. Not sure what we will do atm. For now, manually dumping some into user.ini, moving more directives to app runtime/config, and pre-loading modules at main php instance helps. I noticed a critical piece to some of this strange behavior though, as to why the some integrations got nuked (and wouldnt return): the "extension" directive (and a handful of others) only work in php.ini. So allowing users to call optional extension=something.so via their account prob wont work in user.ini. This disallows former modules that users could call for their app like extension=redis.so or newrelic.so In regards to the other directives that arent loading at user.ini, they seem to be kinda random. It should be everything PHP_INI_SYSTEM is not available at user level? Looking forward to v68.
    0
  • cPanelMichael
    In regards to the other directives that arent loading at user.ini, they seem to be kinda random. It should be everything PHP_INI_SYSTEM is not available at user level? Looking forward to v68.

    These are the directives that are not changeable from the user-level (unless using the suPHP handler): allow_url_fopen allow_url_include enable_dl file_uploads safe_mode Generally, we recommend using the cPanel MultiPHP INI Editor option to make PHP configuration changes to the individual account (as opposed to manually creating ini files), as this feature is designed to populate the correct entries in the required files and accounts for changes to the PHP handler. Thank you.
    0

Please sign in to leave a comment.