ID: 12691
Updated by: alindeman
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Apache related
Operating System: SuSE7.1
PHP Version: 4.0CVS-2001-08-10
New Comment:

works fine for me (Apache 1.3.20 + PHP Latest CVS).

Try running <?phpinfo()?> and see what variables are defined..

Previous Comments:
------------------------------------------------------------------------

[2001-08-10 10:42:38] [EMAIL PROTECTED]

Apache 2.0.24-dev
PHP4-200108091635

CFLAGS='-O6 -fomit-frame-pointer' \
'./configure' \                                                                        
                                                                
'--with-apxs2=/usr/local/apache2/bin/apxs' \                                           
                                                                
'--with-mysql' \                                                                       
                                                                
'--disable-posix' \                                                                    
                                                                
'--disable-pic' \                                                                      
                                                                
'--with-zlib' \                                                                        
                                                                
'--enable-wddx' \

Looks like PHP doesn't import SERVER_* environment variables:
e.g.
<?php print getenv('SERVER_NAME')?>
or
<?php print $_SERVER['SERVER_NAME']?>

yeilds nothin'

-- tedor

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12691&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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