PHP not displaying any errors
Posted
by chutsu
on Server Fault
See other posts from Server Fault
or by chutsu
Published on 2010-06-08T20:37:01Z
Indexed on
2010/06/08
20:42 UTC
Read the original article
Hit count: 250
I've got ubuntu 10.04 installed, as well as:
- lighttpd
- mysql/php
Now my problem is that my php scripts can be executed and has access to MySQL database, however I'm having problems getting php to display all errors when running. The result of a failed php run is a blank page.
I tried setting the display errors on in php.ini in /etc/php5/cgi/php.ini
I've also tried adding these two lines in the source to force errors on, to no avail.
ini_set('display_errors', '1');
error_reporting(E_ALL);
What should I do? Thanks
© Server Fault or respective owner