[PHP] Find PHP install directory

2007-10-16 Thread Philip Thompson
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


Re: [PHP] Find PHP install directory

2007-10-16 Thread Philip Thompson
On 10/16/07, Andrew Peterson [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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