Re: SERVER_PORT always at 80 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> >
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux