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.
[root@a24uall 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
[root@a24uall public_html]#