PDA

View Full Version : Issues with mySQL extentsion


Dan
05-28-2006, 05:22 PM
Running the latest version of mySQL (5.0), php 5.1.4, and apache 2.2 (using the dll's from apachelounge).

After configuring everything how it is suppose to be and even uncommenting everything needed to be I'm getting this error and not being able to do mysql related things.

I'm getting this error in my apache logs.


PHP Warning: PHP Startup: Unable to load dynamic library 'C:/PHP/ext/php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0


Ideas or suggestions? Because that is the exact path to where the php_mysql.dll is sitting.

Paul M
05-28-2006, 05:27 PM
Permissions error maybe ? or another process has a lock on it, or it's the wrong version, or it's just windows playing up .....

Dan
05-28-2006, 05:28 PM
No nothing else should have a lock on it, or permissions errors as this is windows after all and I copied the files there myself.

Paul M
05-28-2006, 05:30 PM
Dunno then - the first thing I do with unknown errors is type them into google - 9/10 times I find something to explain / fix the problem.

Dan
05-28-2006, 05:31 PM
Ya, tried that, got a bunch of bull that was of absolutely no help.

Paul M
05-28-2006, 05:35 PM
Really ?

I only got one hit - which suggested copying libmysql.dll to the windows system32 folder.


http://www.issociate.de/board/post/253313/

Dan
05-28-2006, 05:40 PM
Sadly that's for older versions of mysql it seems, but after a suggestion from a good friend of mine adding the PHP dir to my path and rebooting makes everything work smoothly now.