MySQL Forums
Forum List  »  Connector/C (libmysql)

more libmysql.dll woes!
Posted by: David Moore
Date: January 01, 2006 03:32PM

Hi All,
I'm moving some php/mysql development work from one PC to another. I wanted to use the latest versions of php, MySQL and Apache on the new machine, so I've downloaded the appropriate stuff and installed it. However, I'm getting the old familiar error when starting the server:

PHP Startup: Unable to load dynamic library 'c:/php/ext/php_mysql.dll - The specified module could not be found

Now I understand that this is because it can't find the libmysql.dll file. The php version 5.1.1. for windows doesn't contain a libmysql.dll file so I assumed that I could use the one in the MySQL distribution (version 5.0.18) but this doesn't work (even when placed in the System32 directory). I'm using Apache 2.0.55 on Windows XP.
I've done all the usual stuff:
1). Editing the http.conf file.
2). Setting Windows Path variable to C:/php and C:/php/ext
3). Defining the extension_dir in php.ini
4). Uncommenting the LoadModule line for MySQL, etc...

So basically I'm completely stuck. However I was wondering:

1). Why is there not a version of libmysql.dll in php version 5.1.1?.
2). Is it reasonable for me to use the libmysql.dll file in the MySQl distribution?.
3). And are Apache 2.0.55, MySQL 5.0.18 & PHP 5.1.1 compatible?. If not then this might explain why the MySQL libmysql.dll file doens't work.

Please help! - before I lose my sanity!!.


Options: ReplyQuote

Written By
more libmysql.dll woes!
January 01, 2006 03:32PM
January 02, 2006 02:35PM
March 13, 2006 03:50PM
August 04, 2006 12:14PM
January 06, 2006 06:35PM
January 09, 2006 04:46AM
September 19, 2006 11:41AM
February 05, 2007 03:04PM
February 05, 2007 11:28PM
February 02, 2007 12:50PM
March 07, 2007 04:26AM
October 11, 2007 12:24PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.