Tuesday, 2 December 2014

Php page showing a warning message: phpinfo() has been disabled

If you get the message while browsing php info page, it means that phpinfo function is disabled. To resolve this you will have to :
Remove phpinfo from disable_functions in php.ini
To locate php.ini file, use command :
Code: [Select]
# php --ini
Check the line Loaded Configuration File: for php.ini location. Remove phpinfo  from disable_functions in php.ini and save it.
Now check the phpinfo page

No comments:

Post a Comment