I am working on a server that is running apache in CGI mode, meaning that I cannot use an .htaccess
file to change the php error reporting settings, which are turned off by default (no logging or displaying of errors) , I created a php.ini file with the following commands in order to enable it:
error_reporting = E_ALL
display_errors = On
display_startup_errors = On
I created a file that calls phpinfo()
in order to check if it was working correctly, and it shows the file set in the PHPRC
variable. however, error_reporting and display_errors still state No Value on the phpinfo page.
How can I correct this and get error reporting (either displayed or logged to a file somewhere) working correctly?