[Mediawiki-l] Install on Windows Problem
nat.colley at yahoo.com
Mon Apr 18 22:29:15 UTC 2011
This problem has been partially solved with fresh installs of AMP, but all that means is I am back to my original problem of being unable to install because MW says php is using old libraries. This problem was supposedly solved in php 5.3 by the addition of mysqlnd (native driver), but obviously not for me. I am exactly where I was when I started four weeks ago, and I can't even begin to describe the frustration.
--- On Wed, 4/13/11, Platonides <Platonides at gmail.com> wrote:
From: Platonides <Platonides at gmail.com>
Subject: Re: [Mediawiki-l] Install on Windows Problem
To: mediawiki-l at lists.wikimedia.org
Date: Wednesday, April 13, 2011, 6:01 PM
Nat Colley wrote:
> I went back to test mysql. it did not pass, so I uninstalled 5.5 in favor of trying 5.1. Long story short, that didn't work, either:
> # Define MySQL Settingsdefine("MYSQL_HOST", "localhost");define("MYSQL_USER", "root");define("MYSQL_PASS", "password");define("MYSQL_DB", "test");
> $conn = mysql_connect("".MYSQL_HOST."", "".MYSQL_USER."",
> "".MYSQL_PASS."") or die(mysql_error());
Note that all those . "" are uneeded.
Fatal error: Call to undefined function mysql_connect() in
C:\Apache2\htdocs\mysql_test.php on line 9/*
The mysql extension is not enabled.
Did you took the steps I mention about changing php.ini?
Do you get any warning about "not being able to load mysql extension"?
Does adding dl('php_mysql.dll'); to the top of the script help?
(you may have to run in in console for dl() to work)
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
More information about the MediaWiki-l