Skip to main content

EA4 - custom php.ini changes

Comments

5 comments

  • JacobPerkins
    Hello! The INI editor is strictly a file editor. Getting PHP to apply that specific INI is still left to the administrator and user to configure (suPHP, etc). I hope this helps!
    0
  • sparek-3
    Is there a hook or something for when this is submitted?
    0
  • JacobPerkins
    There are no hooks around INI calls right now, however you can write a script to make the appropriate API calls and then do the necessary system calls to make your changes happen.
    0
  • sparek-3
    [plain]I found that you can use Api2::LangPHP::php_ini_set_user_content in a hook to get the submitted information. Is there a way to define what PHP directives are user configurable in user's cPanel?[/plain]
    0
  • cPanelMichael
    Is there a way to define what PHP directives are user configurable in user's cPanel?

    Hello :) You can't add or remove the directives found under "Basic" mode in "cPanel >> MultiPHP INI Editor". However, "Editor" mode allows to change directives that are not listed under "Basic" mode. As far as PHP itself, you can review the "Changeable" column on the following PHP page to determine if it's possible to configure a directive globally or for individual accounts: PHP: List of php.ini directives - Manual Thank you.
    0

Please sign in to leave a comment.