Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just installed lighttpd, and I'm not seeing any error messages on pages when I know errors must have occurred. All I get is a blank page. However, I do get the errors in the error log file - but I really want to see them while I develop instead of going into the log.

Surely lighttpd isn't supposed to do this?

share|improve this question
up vote 1 down vote accepted

In your php.ini, make sure you have:

display_errors = On
share|improve this answer
Oh.. it was that simple. Thanks a lot =D – Matt Jun 26 '10 at 14:24
Sure, glad I could help! – Weboide Jun 26 '10 at 14:54

You might need to tweak your php.ini file.

The values you probably want to change are these:
error_reporting = E_ALL | E_STRICT
display_errors = On
display_startup_errors = On

It's not recommended to set these values on a production server, just dev machines.

If lighthttpd is like Apache, you'll also need to restart the service to pick up the new config changes.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.