Find PHP install directory

This is a discussion on Find PHP install directory within the PHP General forums, part of the PHP Programming Forums category; Hi. Is it possible to dynamically find where PHP is installed on a Win 2k3 machine running IIS? I am ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-16-2007
Philip Thompson
 
Posts: n/a
Default Find PHP install directory

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

Reply With Quote
  #2 (permalink)  
Old 10-16-2007
Philip Thompson
 
Posts: n/a
Default Re: [PHP] Find PHP install directory

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0