By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,409 Members | 1,604 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,409 IT Pros & Developers. It's quick & easy.

phpinfo() - Configuration File (php.ini) Path

P: n/a
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

Jul 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
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.
Jul 17 '05 #2

P: n/a
Win
My apologies for the lack of info.

Win2k Srv IIS. PHP5 as a module.

Jul 17 '05 #3

P: n/a
Set the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath

Jul 17 '05 #4

P: n/a
Win
Thanks for the input Philip, but that key does not exist. Any other
ideas?

Jul 17 '05 #5

P: n/a
Set the system PHPRC environment variable on your system.

Jul 17 '05 #6

P: n/a
Btw, you can create the key. I don't know much about Windows or its
registry but you can create registry keys...

Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.