I read the source yes, but my C skills are not good enought to say. I think about an Apache problem as well, I dont see why it would have been hardcoded into PHP source (and I cant find it hardcoded anyway ...). I will try another language, or even another server, to see .... thx:) Julien.P 2008/4/14 mike <mike503@xxxxxxxxx>: > you should try Perl or another language. See if you can isolate it to > Apache. > . > Or, you could try to track it down inside of the PHP source and see if > for some reason it is hardcoded or incorrectly set. (However, I still > think it's from Apache) > > On 4/14/08, Julien Pauli <doctorrock83@xxxxxxxxx> wrote: > > Ok I did that, but it's the same. > > HTTP_HOST says myhost:81 , but SERVER_PORT still says 80.... > > > > Cheers > > Julien.P > > > > 2008/4/14 mike <mike503@xxxxxxxxx>: > > > > > I would think PHP is just passing through what it receives from > > > Apache. I assume it's just passing through environment variables it > > > gets from the server. > > > > > > Can you disable all the other ports and only have :81 running to > > > ensure there is no confusion? > > > > > > > > > > > > > > > On 4/14/08, Julien Pauli <doctorrock83@xxxxxxxxx> wrote: > > > > Yes it runs on 5.3 on 81 and 5.2 on 80, both phpinfo() show port > 80.... > > > > > > > > Regards, Julien.P > > > > > > > >