- Plesk for Linux
In an attempt to open the phpinfo page via Plesk > Domains > example.com > PHP Settings > View the phpinfo() page the process fails with the error:
PLESK_ERROR: Error: Unable to retrieve information about the PHP configuration.
The following error can be found in the
/var/log/plesk-phpXX-fpm/error.logfile (where XX is the version of PHP handler):
CONFIG_TEXT: [pool example.com] child 15851 said into stderr: "NOTICE: PHP message: PHP Warning: phpinfo() has been disabled for security reasons in /var/www/vhosts/example.com/httpdocs/__info0.php on line 1
Function phpinfo is disabled in
Go to Domains > example.com > PHP Settings.
Remove phpinfo function from the disable_functions field.
- Scroll down and press the OK button.