MySQL Forums
Forum List  »  Connector/C (libmysql)

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
37334
January 01, 2006 03:32PM
13123
January 02, 2006 02:35PM
9159
March 13, 2006 03:50PM
7257
August 04, 2006 12:14PM
5939
January 06, 2006 06:35PM
5197
January 09, 2006 04:46AM
6609
September 19, 2006 11:41AM
13832
February 05, 2007 03:04PM
6229
February 05, 2007 11:28PM
Re: more libmysql.dll woes!
6156
February 02, 2007 12:50PM
4721
March 07, 2007 04:26AM
4811
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.