Skip navigation links

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


Advanced Search

Re: more libmysql.dll woes!
Posted by: Cameron Barr ()
Date: February 02, 2007 12:50PM

Dave...

Maybe silly question...did you remove the semicolons from the line defining the extensions in the php.ini file.

I too was racking my brains over my php showing as MySql Supported while setting up Joomla1.5 CMS.... See below:
Quote
author=magneticmg link=topic=137051.msg673543#msg673543 date=1170429986
Hi Everyone...my first post here. I just went through a similar issue while installing Joomla 1.5 Beta on my development machince (home) and I think it may be of use to others to be explicit about what I did to solve it.

To make sure that PHP is compiled with MySQL and MySQLi support do three (3) things:

1) make sure that your php.ini file (for windows usually c:\php\php.ini) has these two lines (with no semicolon in front)

extension=php_mysql.dll
extension=php_mysqli.dll

you might have to add the second line (I did)

2) make sure your 'extension_dir' line is correct in the same php.ini file, in my case:

extension_dir = "c:\php\"

3) I did this but not sure if it affect any of my other extension capabilities, but I did so because libmysql.dll was already in this directory: copy both php_mysql.dll and php_mysqli.dll from the c:\php\ext\ directory into the c:\php directory.

Now my installation works. Does anyone have any comment? Maybe this is backwards and I should have copied libmysql.dll into the /ext/ directory and stated that location in the extension_dir line in php.ini..


magneticmg :)


Options: ReplyQuote


Subject Views Written By Posted
more libmysql.dll woes! 35847 David Moore 01/01/2006 03:32PM
Re: more libmysql.dll woes! 12474 Alfred Ayache 01/02/2006 02:35PM
Re: more libmysql.dll woes! 8749 mlotfy 03/13/2006 03:50PM
Re: more libmysql.dll woes! 6489 darri donnelly 08/04/2006 12:14PM
Re: more libmysql.dll woes! - my fix 9472 Thomas Zavaleta 04/10/2009 11:20AM
Re: more libmysql.dll woes! **Fixed** 8781 Alfred Ayache 01/02/2006 03:51PM
Re: more libmysql.dll woes! 5481 Stas Baranov 01/06/2006 06:35PM
Re: more libmysql.dll woes! 4814 Georg Richter 01/09/2006 04:46AM
Re: more libmysql.dll woes! 6108 James haring 09/19/2006 11:41AM
php + mysql not working 12846 Vikram Shinde 02/05/2007 03:04PM
Re: php + mysql not working 5751 Bob Field 02/05/2007 11:28PM
Re: more libmysql.dll woes! 5667 Cameron Barr 02/02/2007 12:50PM
Re: more libmysql.dll woes! 4288 Marwan Abi Khalil 03/07/2007 04:26AM
Re: more libmysql.dll woes! 4467 Larry Duncan 10/11/2007 12:24PM
Re: more libmysql.dll woes! STILL! 5341 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.