MySQL Forums :: Connector/C (libmysql) :: more libmysql.dll woes!

Advanced Search

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

Subject Views Written By Posted
more libmysql.dll woes! 37268 David Moore 01/01/2006 03:32PM
Re: more libmysql.dll woes! 13106 Alfred Ayache 01/02/2006 02:35PM
Re: more libmysql.dll woes! 9147 mlotfy 03/13/2006 03:50PM
Re: more libmysql.dll woes! 7081 darri donnelly 08/04/2006 12:14PM
Re: more libmysql.dll woes! - my fix 10242 Thomas Zavaleta 04/10/2009 11:20AM
Re: more libmysql.dll woes! **Fixed** 9215 Alfred Ayache 01/02/2006 03:51PM
Re: more libmysql.dll woes! 5925 Stas Baranov 01/06/2006 06:35PM
Re: more libmysql.dll woes! 5183 Georg Richter 01/09/2006 04:46AM
Re: more libmysql.dll woes! 6591 James haring 09/19/2006 11:41AM
php + mysql not working 13810 Vikram Shinde 02/05/2007 03:04PM
Re: php + mysql not working 6216 Bob Field 02/05/2007 11:28PM
Re: more libmysql.dll woes! 6139 Cameron Barr 02/02/2007 12:50PM
Re: more libmysql.dll woes! 4706 Marwan Abi Khalil 03/07/2007 04:26AM
Re: more libmysql.dll woes! 4799 Larry Duncan 10/11/2007 12:24PM
Re: more libmysql.dll woes! STILL! 5667 Martin Lomas 06/14/2008 03:08AM

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.