Re: SERVER_PORT always at 80 ?

From: Date: Mon, 14 Apr 2008 18:57:08 +0000
Subject: Re: SERVER_PORT always at 80 ?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-272986@lists.php.net to get a copy of this message
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@gmail.com> 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@gmail.com>: > > > 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@gmail.com> wrote: > > > Yes it runs on 5.3 on 81 and 5.2 on 80, both phpinfo() show port 80.... > > > > > > Regards, Julien.P > > > >

« previous php.general (#272986) next »