I had a similar problem just the other day and was able to solve it by copying the libmySQL.dll file from the MySQL/bin directory to the directory where I keep my PHP extensions.
Granted, my configuration is different from yours (alas, my work environment is that I am stuck with a Windows XP box and an IIS server), but it might work.
Here's my post from the other day. good luck!
- Jeremy Milarsky Sun-Sentinel Fort Lauderdale, FL
--- (previous post) Thanks again to all. I was able to find the solution (or, more accurately, a clue to getting at the solution) in a PHP forum.
For those who are curious, the critical module for working with PHP and MySQL under my specific setup (again, WinXP, IIS 5.1, PHP 5.2.0, MySQL 5.1) is, in fact, a little file called libMySQL.dll ...
This file comes with MySQL, and actually lives in the MySQL/debug (there is a version in the MySQL/bin folder, too -- but it's an older version and didn't work for me -- that was what was frustrating my efforts so) directory. Furthermore, you must make sure you have the most current version of it (mine is approx. 2.49 megs in size ... the bad version is 1.49 megs)...
Thanks again to Arthur and Jason for their suggestions. It does seem like my problem was pretty configuration-specific, so I'm not sure whether this solution will be of use to others -- hopefully it will. Thanks again.
- Jeremy Milarsky Sun-Sentinel Fort Lauderdale, Fla.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org]On Behalf Of Lacatena, Andrew Sent: Wednesday, January 24, 2007 2:05 PM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Installation
Hello. I am installing mediawiki for the first time on a Fedora Core 4 box running PHP 5.0, Apache and MySQL. These were all installed via RPM.
When I browse to http://myipaddress/wiki/index.php I get an error saying the MySQL must be compiled using -with-mysql or install the mysql.so module. Can I download this module from somewhere, or do I need to compile PHP using -with-mysql, and copy over the mysqli binary? I am trying to avoid compiling PHP at all.
Thanks.
-Andrew
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org