Modified files: /phpdoc/en/install/windows manual.xml Log: Added more info on where to look for ini stuff.Seems like I understand
the search path. Implication: without PHPRC set, PHP 4 SAPI modules will not find the php.ini file if it is located in the PHP folder - this is why PHP 5 packages have all things in the root PHP folder. I'll update the docs later.
Some more infos about this: * I have Apache 2 and PHP 5 and I have to copy the php.ini file to the windows folder, or otherwise it won't work
See the source reference I have added. You have the option to
- set PHPRC environment variable to the folder where your php.ini is - put the php.ini into the executable folder (the folder where the sapi dll is - that is leave it where it is in the distribution)
I am unsure about the second one. It comes down to what http://msdn.microsoft.com/library/en-us/dllproc/base/getmodulefilename.asp returns when in the apache dll. I don't know...
* If I enable the mysql extension, I need to copy the libmysql.dll file to the windows\system32 folder (and the PHP directory is in the path!)
This is very interesting. It should not be the case IMHO...
Goba