I seemed to be experiencing some differences with gallery2 under php4 vs php5. In both cases, I’m running php as cgi. This is specifically to do with the debug module. I have not seen a problem viewing photos.
Under php4, the debug module works fine. But under php5 I get an internal server error as follows. My error log shows “Premature end of script headers: /dh/cgi-system/php5.cgi”
I’m not sure if this is a dh issue, php5 issue, or a gallery issue. Also, my ErrorDocument 500 in .htaccess does not seem to be followed when that happens.
Does anyone here have any clues?
Thanks in advance