kl4518
asked on
How do I change the php.ini location
I want to have the php.ini in c:\test and not c:\windows. When i run phpinfo it says the php location is c:\windows. I want to change the location and know about the line:
SetEnv PHPRC C:/test/php
but this only works if php is loaded as a cgi which i dont want to do. Is there a way to specify the php location if im loading php as a module?
Thanks
SetEnv PHPRC C:/test/php
but this only works if php is loaded as a cgi which i dont want to do. Is there a way to specify the php location if im loading php as a module?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I use apache
can i place that anywhere in the httpd.conf file?
thanks
can i place that anywhere in the httpd.conf file?
thanks
HKEY_LOCAL_MACHINE\SOFTWAR