Skip to main content

phpinfo disabled but it's not in disable_functions

Comments

8 comments

  • Bdzzld
    Did you disable it in the correct php.ini file? Please check phpinfo() for the exact location of that file.
    0
  • smatt
    I can't check phpinfo(), it is disabled...! I'm trying to enable it. I removed it from disable_functions using WHM's PHP Configuration Editor. Verified the change was saved on CLI with grep phpinfo /usr/local/lib/php.ini - no result.
    0
  • Bdzzld
    Sorry smatt, I thought it was the other way around. php.ini is usually located @ /usr/local/lib/
    0
  • smatt
    ^ No problem. Any ideas on how to fix?
    0
  • Bdzzld
    You may need to view the php.ini file manually (via vi or pico) to see if it's actually overwritten. Sometimes there are multiple lines of disabled_functions
    0
  • smatt
    Yes I thought that might be the case too - checked for that, only one disable_functions row, phpinfo is definitely not there.
    0
  • smatt
    This has been resolved. Quirks of CageFS. After making a change to php.ini you have to force an update.
    0
  • cPanelMichael
    I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.