phpinfo() - Configuration File (php.ini) Path
phpinfo() - Configuration File (php.ini) Path
am 01.06.2005 15:32:31 von WIN
Not really an important question, but does anyone happen to know how to
modify the path displayed in the [Configuration File (php.ini) Path]
section from phpinfo()?
I was referred to the following URL, but that doesn't seem to do it:
http://us3.php.net/manual/en/configuration.php
Re: phpinfo() - Configuration File (php.ini) Path
am 01.06.2005 17:02:24 von Colin McKinnon
Win wrote:
> Not really an important question, but does anyone happen to know how to
> modify the path displayed in the [Configuration File (php.ini) Path]
> section from phpinfo()?
>
> I was referred to the following URL, but that doesn't seem to do it:
> http://us3.php.net/manual/en/configuration.php
What did you do? What OS are you running? What webserver? are you running
PHP as a module or as CGI?
IIRC if you want to change the default path you need to build the binaries -
specify --with-config-file-path=... when you run configure.
C.
Re: phpinfo() - Configuration File (php.ini) Path
am 01.06.2005 18:36:21 von WIN
My apologies for the lack of info.
Win2k Srv IIS. PHP5 as a module.
Re: phpinfo() - Configuration File (php.ini) Path
am 02.06.2005 00:33:26 von Philip Olson
Set the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath
Re: phpinfo() - Configuration File (php.ini) Path
am 02.06.2005 16:07:20 von WIN
Thanks for the input Philip, but that key does not exist. Any other
ideas?
Re: phpinfo() - Configuration File (php.ini) Path
am 03.06.2005 22:57:38 von Philip Olson
Set the system PHPRC environment variable on your system.
Re: phpinfo() - Configuration File (php.ini) Path
am 03.06.2005 23:46:51 von Philip Olson
Btw, you can create the key. I don't know much about Windows or its
registry but you can create registry keys...