Warning: phpinfo() has been disabled for security reasons

ARUN Post in PHP
0

When trying to view phpinfo we get the following error :

Warning: phpinfo() has been disabled for security reasons

Solution :

This is because you have disabled phpinfo in your php.ini file. Just remove that entry from disable_functions and this should be fixed.

[[email protected] public_html]# grep phpinfo /usr/local/lib/php.ini
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen, ini_set
[[email protected] public_html]#

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.