> > Now to get MySQL 4.0.20d to work: > > > > 7) Uncommented php_mysql.dll > > 8) Copied c:\php5\libmysql.dll to c:\WINDOWS, it works! > > > > I tried other solutions to #8 but they failed. I assumed > > PHP would look in the folder where all the other DLLs are > > but it did not. Also copying libmysql.dll from > > c:\mysql\lib\opt\ to WINDOWS dir did not work, only the > > bundled one did...not sure why. So I now use a 3.23.57 > > API to 4.0.20, seems odd. > > Nuno said that if you move the MySQL bundled (mysql\lib\opt) dll out of > the way (rename to something else, etc), then PHP will be able to find > the DLL in the dir where is it bundled with PHP. Could you please also > try this?
Still doesn't work. I moved both (opt/,debug/) yet it only works when the bundled libmysql.dll is in the WINDOWS directory. Aside from bin/ no other such files exist (even tried moving the one from bin/! :) Regards, Philip P.S. I was mistaken earlier, the setting of user environment variables (as opposed to system environment variables) does not work for PHPRC. Only system does which makes sense in that apache is not running as my user.