Gallery/PHP errors

Gallery/PHP errors

Posted by: nstrupp
Posted on: 2007-09-26 10:51:00

Lately I've been seeing a lot of this error:
"Premature end of script headers: php5.cgi"
when I'm posting or editing images in my Gallery install. This happens on more than one site and in both a new install and old. I've had a fully functional, error-free Gallery for many months and only started getting this error in the last week. Has anyone else seen this? Anyone have a solution?

Re: Gallery/PHP errors

Posted by: scjessey
Posted on: 2007-09-26 11:08:00

This is just a guess, but have you started uploading larger files recently? That might be the cause of the error.


-- si-blog --

Re: Gallery/PHP errors

Posted by: nstrupp
Posted on: 2007-09-26 11:17:00

I did upload some larger JPGs, but they're not as large as the RAW files I've uploaded previously.
Assuming larger JPGs are the problem, what's the solution?

Re: Gallery/PHP errors

Posted by: scjessey
Posted on: 2007-09-26 12:24:00

In reply to:

Assuming larger JPGs are the problem, what's the solution?


I'm tempted to state the blindingly-obvious here, but I will content myself with saying that you should make sure your file sizes are less than the 7Mb ceiling imposed by PHP.


-- si-blog --

Tags: premature end of script headersphp5images