Skip to main content

Automated manner to detect origin of PHP Directive Local Value that overrides Master Value

Comments

6 comments

  • andrew.n
    the local values are being defined in php.ini or .user.ini files under the user's account. You can read more about here:
    0
  • cPRex Jurassic Moderator
    Thanks for the details, @andrew.n. @JAB Creations - if you create a PHP info page on the domain it will also have a "Loaded Configurations" section that tells you what ini files are being read, which can also be helpful for tracking down odd issues with the values.
    0
  • JAB Creations
    ... if you create a PHP info page on the domain it will also have a "Loaded Configurations" section that tells you what ini files are being read

    I have that built in to my platform - could you please tell me exactly where in PHP's info those details are?
    0
  • andrew.n
    If you open the php info page then this is at the 7th row (Loaded Configuration File).
    0
  • JAB Creations
    Unfortunately after going through everything and talking with a good tech at my host we discovered the files were:
    • /home/example1/php.ini
    • /home/example1/.htaccess
    • /home/example1/user.ini
    When we changed the settings and restarted the HTTP server everything worked properly. This is a cPanel thing, not PHP. So again, how can I have cPanel tell me where it is pulling "Local Value" settings from?
    0
  • andrew.n
    We already answered this question, please see what we said before :)
    0

Please sign in to leave a comment.