To enable error reporting in Apache/PHP, edit /etc/php5/apache2/php.ini
FindCode:sudo subl /etc/php5/apache2/php.ini
Replace withCode:display_errors = Off
FindCode:display_errors = On
Replace withCode:error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
Code:error_reporting = E_ALL
Save and exit the file.
Now restart Apache
Code:sudo service apache2 restart
Bookmarks