Enable PHP error reporting at apache in ubuntu

Change / turn on the error_reporiing setting at /etc/php5/apache2/php.ini
to check the php.ini file path, you can search by phpinfo(); at a test php file and then check the php.ini file path

 

He are new values:
error_reporting = E_ALL & ~E_NOTICE
display_errors = On

 

After changing the setting at php.ini, restart the apache2 server
sudo service apache2 restart

===================================================================

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s