When trying to view phpinfo we get the following error :
Warning: phpinfo() has been disabled for security reasons
This is because you have disabled phpinfo in your php.ini file. Just remove that entry from disable_functions and this should be fixed.
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
Done.
if you want to view your php settings you can do it by using a phpinfo page.