Check httpd.conf to see what, if anything, is in there that might be set to
alter Apache's server variables.

If phpinfo() aren't showing them, it's probably Apache isn't sending them.

WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out?  Like Music?  Buy a CD:
Volunteer a little time:
----- Original Message -----
From: Art Boulatov <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Sunday, September 23, 2001 9:27 AM
Subject: Apache2/PHP: Undefined server variables

> Hi,
> sorry if this is a dumb question (I think I've read the docs :)
> I 've just set up Apache-2.0.26-dev with php-4.0.8-dev both from CVS,
> and now when I try to access the server variables like:
> <?php echo $SERVER_NAME  ?> or <?php echo $HTTP_USER_AGENT  ?>
> I got "Undefined variable:" in the logs.
> The same is for:
> I played with php.ini with no effect.
> Could you please tell me if this happens due to misconfiguration of
> php/apache, or thats a known issue with Apache-2.0 and php?
> Also, under phpinfo() I cannot see any server variables at all, only those
> from  the shell environment.
> Thanks a lot,
> Art.

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to