Gallery2 and php4 vs php5

Gallery2 and php4 vs php5

Posted by: sykong
Posted on: 2006-01-18 18:01:00

Hi there,

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

Re: Gallery2 and php4 vs php5

Posted by: KarmaPolice
Posted on: 2006-10-18 22:38:00

I've been getting this problem lately too...

Any advice would be greatly appreciated

Tags: premature end of script headersphp5cgi systeminternal server errorphp4debughtaccessrunningphp