PHP header problems porting from FreeBSD to Win XP
Posted on 2004-04-28
I have a PHP site (newest version) that works fine on FreeBSD.
But when I try to port it to my XP laptop so I can work at home, I get errors trying to use the header() redirect.
For instance, a line like this:
will get me an error that says I've already printed out the headers and I can't do it again. It's just not true.
I assume there's either a problem with files being Unix style in XP. Or maybe there's just an Apache or PHP setting I can change?