VM Bleed PHP 5.2.11 CentOS 5.3 problem

5 posts / 0 new
Last post
#1 Sun, 10/04/2009 - 18:57
LonDoh

VM Bleed PHP 5.2.11 CentOS 5.3 problem

FYI: I just noticed there was an updated php (5.2.11) on the VM Bleed repo so ran the update from 5.2.9

apache restarted ok but I got lots of '500 Premature end of script headers' errors on Joomla and wordpress sites

however other php sites ran OK

no response at all from php cli (eg php -v)

there's nothing obvious in php_log or apache error_logs

Its a working box so I didnt stop to look any further - just downgraded back to 5.2.9

l.

Thu, 10/08/2009 - 23:27
sfatula

For what it is worth, I upgraded from 5.2.9 to 5.2.11 from vmbleed and do not have your issues.

Sun, 10/11/2009 - 01:00
arjones85

I did also, just yesterday. Did not experience these problems.

Do you have any modules loaded in your php.ini file that are not "standard" or "stock" modules?

Sun, 10/11/2009 - 18:00
ronald
ronald's picture

in the domain php.ini file try setting:

; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
cgi.fix_pathinfo=0

Mon, 10/12/2009 - 10:36
LonDoh

Hi

thanks for replies

@arjones85 - nothing at all unusual is being included. All packages are in the repo

@ronald - thnx for tip. it might be worth a try. I'll give it a go when its quieter and let you know

l.

Topic locked