Lighttpd+FastCGI+PHP5 display errors problem

Talk about anything you like here, as long as it's non-technical and within the rules. No support questions here please! Posts here do not count towards your total
Post Reply
User avatar
studioeng
Experienced
Experienced
Posts: 454
Joined: Mon Oct 23, 2006 11:59 pm
Location: Dorset, England
Contact:

Lighttpd+FastCGI+PHP5 display errors problem

Post by studioeng » Mon Aug 02, 2010 11:37 am

Hi peeps, It's been a long time :roll:

I've been setting up a small server at home, I'm using Lighttpd and PHP5 via FastCGI. It's all set up and working fine, only niggle I have, is it won't display errors if the php code is bungled, I just get a blank page. Unlike Apache2 shows you the line where the problem lies.
The 3 variables I have changed are:
error_reporting = E_ALL & E_STRICT,
display errors = On,
html_errors = On

I'm pretty sure I had the errors being displayed before, but now they're not. Has anyone had any experience with this set up, or even if this configuration doesn't actually work. I really don't want to run apache2 as lighttpd is a lot smaller, especially as I'm only using a Revo as my mini-server.

Thank you :D
User avatar
studioeng
Experienced
Experienced
Posts: 454
Joined: Mon Oct 23, 2006 11:59 pm
Location: Dorset, England
Contact:

Re: Lighttpd+FastCGI+PHP5 display errors problem [Solved]

Post by studioeng » Mon Aug 02, 2010 1:06 pm

I've just checked through the php.ini file again, and changed
error_reporting = E_ALL & E_STRICT to just error_reporting = E_ALL and now it's working. Bizarre.
Post Reply