Re: SERVER_PORT always at 80 ?
| From: | Julien Pauli | Date: | Thu, 17 Apr 2008 17:25:59 +0000 |
| Subject: | Re: SERVER_PORT always at 80 ? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273202@lists.php.net to get a copy of this message | ||
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@gmail.com>:
> 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
> > >
> >
> >
>