PHP is looking for php.ini file in c:\windows
Posted: Tue Jul 11, 2006 1:42 pm
As the installation txt suggests, I have left my php.ini file inside the c:\php directory... but running phpinfo() shows that my php.ini file is in c:\windows as shown below.
Configuration File (php.ini path) - C:\WINDOWS
Well there is no php.ini file in my windows directory, so I'm not sure where it's getting it's configuration settings from... unless I suppose they're built into the executable somewhere if no php.ini file is found. My questions is - why php is not locating my php.ini file that is located in the c:\php directory? I'd rather not move it to the windows directory so I can keep everything nice and tidy like the installation file suggests.
Any thoughts?
thanks
Configuration File (php.ini path) - C:\WINDOWS
Well there is no php.ini file in my windows directory, so I'm not sure where it's getting it's configuration settings from... unless I suppose they're built into the executable somewhere if no php.ini file is found. My questions is - why php is not locating my php.ini file that is located in the c:\php directory? I'd rather not move it to the windows directory so I can keep everything nice and tidy like the installation file suggests.
Any thoughts?
thanks