> I believe it is possible with this configuration: > > 1. php*ts.dll, php*apache*.dll, php.ini, *.dll in e.g. C:\PHP\ > 2. C:\PHP\ in PATH > 3a. C:\PHP\ in PHPRC (for PHP 4) > 3b. C:\PHP\ in Registry entry HKLM\Software\PHP\IniFilePath (for PHP 5) > > C:\PHP\ in PATH is necessary only for *.dll (such as libmysql.dll). You > can have these also in other PATH directory (e.g. C:\Windows\System32).
I think this is the perfect solution! > Trailing slashes are necessary in some cases (e.g. 3a). > > Nuno Lopes wrote: > > C:\windows\system32\libmysql.dll (without this the mysql extension doesn't load) > > It works for me perfectly with libmysql.dll in any PATH directory. It doesn't work for me. Which version are you using? I'm using XP SP1. My apache log (if I delete the libmysql.dll from the system dir): "PHP Warning: PHP Startup: Unable to load dynamic library 'C:/php/ext/php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0" Nuno