Thread: mySQL on IIS
View Single Post
Old 29-02-2008, 09:35   #2 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
In your php.ini (usually toward the bottom) there should be a call to php5_mysql.dll or whatever.

Then, your PHP directory should have a file called libmysql.dll and your extensions folder should have that php5_mysql.dll or whatever it's called.

Try copying libmysql.dll into the WINDOWS/system32 directory, restart IIS.

That's what I had to do for Apache. Windows needs that DLL in its system directory. If you can't get an extension to call, try finding a libextension.dll in your PHP directory and copying that as above.

Fair warning, PHP/MySQL on IIS is a pain in the ass for some reason. In my experience.
  Reply With Quote