Since starting my phpbb board a month and a half ago my users and I randomly come up with a 500 - Internal Server Error executing any php script on the site. ( http://forums.burfstar.com if you care; it's a private forum though...)
I have triple-checked my permissions to each folder and file, and all of them are correct.
All scripts cause the error, but refreshing the page always fixes the problem (If a user posted a reply to a topic, it calls posting.php and sometimes it displays a 500 error, refreshing shows the correct posting.php and the reply is posted).
I have checked and posted in the phpbb support forums for a solution, but have found none.
Here is a copy of the error message in the log file:
[Wed Mar 03 02:52:35 2004] [error] [client xx.xx.xx.xx] Premature end of script headers: php-script
[Wed Mar 03 02:52:35 2004] [error] [client xx.xx.xx.xx] php-script: line 4: 3335 Segmentation fault /usr/bin/php
The things I can think of that would cause this, and I would appreciate you saying something if you think otherwise, are either incorrect server configuration, server does not like when @REQUEST_URI is used (or something similar) or I'm somehow overusing the CPU or RAM allotted for my account on the server by running my board of <50 members (I use canaca.com for hosting).
The error is random, and does not come up all the time. Refreshing always brings up the correct page.