Check your php.ini
file, and grep for disable_function
:
cat php.ini | grep -in "disable_function"
If the output has phpinfo
in this line as such:
386:disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
edit the file and remove phpinfo
from this line and save. You may need to restart httpd
service httpd restart