That's the odd thing, there is nothing being indicated in the error logs the 
server just hangs and I have to restart apache in order to get the site back 
up. First I thought it might be the server so I move over to a different 
server, but I still have the same issue. What I feel is really odd is the fact 
that it worked in a previous version of php, so waht's changed?


From: Ashley Sheridan []
Sent: Thu 1/7/2010 7:52 AM
To: James McLean
Cc: Vernon Webb;
Subject: Re: [PHP] Site Moved From PHP4 to PHP5 Server - header, location no 
longer working

On Thu, 2010-01-07 at 16:50 +1030, James McLean wrote: 

        On Thu, Jan 7, 2010 at 1:35 PM, Vernon Webb <> wrote:
        > I move a number of sites from one server to another and one the one 
server we had php4 and now we have php5 and since then my server seems to hang 
every time there is a header, location redirect. Anyone have any ideas on how 
to resolve this? Is there something I can easily change in the php.ini file 
that will resolve this issue?
        Off the top of my head it sounds like something is being output before
        the header, which causes an error. If you also have error display
        turned off, you will likely just see a white screen with no useful
        Make sure none of your includes have trailing whitespace or are trying
        to print out information before the header itself.
        Best bet is to turn on errors and log them, then you will see where
        the output started if infact that is your issue.

Don't turn on errors if this machine is public, as it could potentially give 
out more information to people than you want. First, look at the error logs for 
PHP, which record all the errors you've had with the site, whether you have 
them displayed or not.

Ash <> 


This message has been scanned for viruses and 
dangerous content by <> , and is 
believed to be clean. 

Reply via email to