Re: auto_globals_jit breaks $_SERVER var

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

 



Artzi, Yoav (Yoav) wrote:
I have the following in my php.ini:
register_globals = Off
register_long_arrays = Off
register_argc_argv = Off
auto_globals_jit = On
The following PHP code prints nothing:
<?php
        $webroot = $_SERVER['DOCUMENT_ROOT'];
        $server = $_SERVER["HOST"];
        $file = $_SERVER["SCRIPT_FILENAME"];
        $transport = $_SERVER["REQUEST_TRANSPORT"];
        $port = $_SERVER["SERVER_PORT"];
        print "$webroot";
        print "$server";
        print "$transport";
?>
The rest of the php.ini is like php.ini-recommended that comes with the
source. Any idea what might be the problem?

Do you have APC enabled? If so, upgrade to a more recent version. Preferably the CVS one.

-Rasmus

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