Re: Apache and $HTTP_SERVER_VARS[]

From: Date: Mon, 22 Jan 2001 22:33:57 +0000
Subject: Re: Apache and $HTTP_SERVER_VARS[]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-36107@lists.php.net to get a copy of this message
> With IIS $path gives the actual path to the directory in which the PHP > scripts reside. With Apache, $path is empty. What have I missed? This > is my first use of Apache, so it's configuration is new for me. What Apache gives depends on what Apache is configured to give... $PHP_SELF is supposed to always have the path to PHP, but it's broken under Windows CGI, I think... Anyway, any time you have a question like this, the good news is: <?php phpinfo();?> If what you want is there, you have it. If it's not there, it's because Apache ain't giving it to PHP -- So you'll need to edit httpd.conf to change it. Don't miss the Zend Web Store's Grand Opening on January 23, 2001! http://www.zend.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#36107) next »