LAMP display php errors

in terminal: Code: sudo gedit /etc/php/apache2/php.ini Scroll down to about line 531 under the “Error handling and logging” title where you will find Code: display_errors = Off Change this to say Code: display_errors = On Once you’ve done this and saved the file, in terminal run: Code: sudo /etc/init.d/apache2 restart