Skip to main content

Warning: phpinfo() has been disabled for security reasons in

Comments

3 comments

  • mtindor
    [quote="postcd, post: 1630751">Hello, how to enable phpinfo from within WHM please? or via CentOS linux command line preserving changes into the next apache rebuild?
    Again in /usr/local/lib/php.ini . Find the line with disable_functions. You probably have disable_function= with a long list of disabled functions, one of them likely being phpinfo. You'll need to remove phpinfo from the list of disabled functions in disabled_functions= mike
    0
  • hostkingco
    Alternatively within WHM go to PHP configuration Editor and Click Advanced and search for disabled functions You'll find the phpinfo() in the text box. Just remove it and click save at the bottom. This should also update the php.ini.
    0
  • cPanelMichael
    Hello :) Yes, the previous posts are accurate. Look for "phpinfo" under disable_functions in /usr/local/lib/php.ini or with "Advanced Mode" via "WHM Home " Service Configuration " PHP Configuration Editor". Thank you.
    0

Please sign in to leave a comment.