Old 29-02-2008, 05:54   #1 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,456
mySQL on IIS

Anyone had any joy setting this up? Had it working perfectly on my old server but someone set it up for me.

Followed a number of tutorials to the letter but to no avail so far.

Code:
Cannot load mysql extension. Please check your PHP configuration.

This is what I get so far. If someone knows how to fix this quickly, I'm happy to pay for this knowledge.

Cheers,
Prem.
__________________
Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison

prem ghinde
  Reply With Quote
Old 29-02-2008, 09:35   #2 (permalink)
pgo
i'm done, son
 
Join Date: Jan 2005
Posts: 12,262
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
Old 01-03-2008, 15:38   #3 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,456
thanks for the detailed response pat. no joy though.

I knew it was a pain in the ass as it took my mate about a week of faffing about before he got it working the last time. unfortunately he never got round to telling me how he did it!
__________________
Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison

prem ghinde
  Reply With Quote
Old 11-03-2008, 15:05   #4 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,456
FYI I found this which solved my problems and woes (obv there was a lot more than this). I think it was steps 5 and 6 that were the sticklers.

Wordpress and the dreaded “Your PHP installation appears to be missing the MySQL” < Fighting Monsters
__________________
Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison

prem ghinde
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8