Re: Re: Apache2.0 + PHP4.1 - Missing Variables
| From: | programmer at bethie dot net | Date: | Mon, 18 Feb 2002 01:09:44 +0000 |
| Subject: | Re: Re: Apache2.0 + PHP4.1 - Missing Variables | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6028@lists.php.net to get a copy of this message | ||
Well, I got php-200202160900, but had build problems.
The errors were that ap_get_brigade was being given too many parameters and
that the last parameter was of an incompatable type.. This is what it looked
like:
ap_get_brigade(f->next, bb, mode, block, readbytes)
and I changed it to:
ap_get_brigade(f->next, bb, mode, readbytes)
which compiled, and seems to work, except for this error at the end of the
phpinfo() function.. and the page title says Cannot find server (which it
obviously can..
The PHP Filter did not receive suitable input data
So my final question is, where is the sapi/apache2filter error coming from in
the first place, and is there a real patch against something to make it
right? I realise that I'm working with a beta and a developmental version,
but I'd like to get on the apache 2.0 bandwagon and it doesn't seem like I can
find the info I need to support it.
Quoting Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>:
> programmer@bethie.net wrote:
> > I'm trying to get an install of Linux Apache 2.0 + PHP 4.1.0 working,
> and the
> > standard global variables are missing. This address iterates throught
> the
> > $_SERVER variables, then pulls up the phpinfo() screen. As you can
> see none of
> > the variables are there. One in particular that I was expecting to
> see is
> > $_SERVER['REMOTE_ADDR'].
> >
> > Has anyone had any experience with this? can anyone offer me some
> advice?
> >
> > Thanks Much,
> > Joe
> >
>
> Try snapshot. http://snaps.php.net/
> It works well for me.
>
> --
> Yasuo Ohgaki
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>