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 got an Amazon ec2 instance running OpenSuse and I'm getting a white page of death on some of my php scripts but there's no error log in var/log/apache2. To my surprise, there's also no access log.

Is this disabled by default? How do I enable error and access logging?


In case this helps, when I set display_errors in php.ini to On, it displays this error:

Parse error: syntax error, unexpected '[' in /srv/www/htdocs/application/controllers/browse.php on line 165

But it doesn't get logged anywhere that I can find.

share|improve this question
Are you sure it's not somewhere else like /var/log/httpd? – ceejayoz Jun 20 '14 at 14:29
/var/log/httpd does not exist on my server. Looks like OpenSuse does everything under 'apache2' but there's no access or error log there. – Citizen Jun 20 '14 at 14:34

Your Answer


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

Browse other questions tagged or ask your own question.