[phpa] Re: NULL Received from PHP-4.2.1 & Apache-2.0.36

  • From: Oscar Fernandez Sierra <oscar@xxxxxxxxxxxx>
  • To: nicholas@xxxxxxxx
  • Date: Tue, 18 Jun 2002 08:06:50 +0200


And you should note that (I believe) PHP-4.2.1 has changed the default
value for register_global
directive to off, so depending in the setting in the setting, some
instructions such as the one
you wrote

$GLOBALS['XXXXX']

might fail.

About register_global:

 
http://php.imasd.elmundo.es/manual/en/configuration.php#ini.register-globals


Nick wrote:
> 
> Tried it without no errors with previous Apache,
> then just jumped to the next thrill without checking it anymore..
> my mistake...sorry for that.
> 
> Nick Lindridge said:
> > The FAQ says that phpa is unsupported with apache 2.
> >
> >
> >>
> >> Hello,
> >>
> >> I decided to give i a try on PHP-4.2.1 and Apache-2.0.36
> >> ( both compiled from source )
> >> After I tested it with the test script:
> >>
> >> <? var_dump($GLOBALS['_PHPA']); ?>
> >>
> >> it only returns
> >> the word NULL on the page
> >> There's no error whatsoever on the apache log as well...
> >>
> >> Your help kindly appreciated.
> >>
> >>
> >> Thank you
> >>
> >>
> >>
> >>
> >>
> > ----------------------------------------------------------------------
> --
> >>  www.php-accelerator.co.uk           Home of the free PHP
> >>  Accelerator
> >>
> >> To post, send email to phpa@xxxxxxxxxxxxx
> >> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject
> >> unsubscribe
> 
> -----------------------------------------------
> He's the fellow that people wonder what
> he does and why the company needs him, until he goes on vacation.
> 
> comp.unix.admin FAQ
> 
> ------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
> 
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe

-- 
Oscar Fernandez Sierra    | Mundinteractivos - El Mundo      |
Area de Internet          | Pradillo, 42                     |
oscar@xxxxxxxxxxxx        | 28002 - Madrid (SPAIN, EU)       |
http://www.elmundo.es/    | Tel: (+34) 915864800 (Ext: 4616) |
------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: