- Plesk for Linux
On attempt to view phpinfo() of a domain at Domains > example.com > PHP Settings > View the phpinfo() page error appears:
PLESK_ERROR: Error: Unable to retrieve information about the PHP configuration.
The error in Plesk is accompanied by the following error in PHP error log file of the chosen 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
"phpinfo" is listed at Domains > example.com > PHP Settings > disable_fundtions:
phpinfo() is disabled in
Go to Domains > example.com > PHP Settings;
Remove "phpinfo" function from disable_fundtions list.