Re: Find PHP install directory

From: Date: Tue, 16 Oct 2007 15:20:50 +0000
Subject: Re: Find PHP install directory
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-263238@lists.php.net to get a copy of this message
On 10/16/07, Andrew Peterson <gretschdrummer@gmail.com> wrote: > > Hi Phill, > > Try using http://us2.php.net/ini_get_all or > http://us2.php.net/ini_get > > On 10/16/07, Philip Thompson <philthathril@gmail.com> wrote: > > > > Hi. Is it possible to dynamically find where PHP is installed on a Win > > 2k3 > > machine running IIS? I am setting up a configuration page and I want to > > show > > where the install is - not change, just show. I have looked at phpinfo > > and > > $_SERVER information, but none of the information seems to jump straight > > out > > and tell me. I've Google'd and searched the PHP site, but to no avail. > > Suggestions? > > > > Thanks, > > ~Philip > > Using these functions would only be useful if the installation directory were listed in the ini settings (phpinfo). Unfortunately, the installation directory is not listed there... well not on mine anyway. =/ Any other thoughts? ~Philip

« previous php.general (#263238) next »