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(a)gmail.com> wrote:
From: Platonides <Platonides(a)gmail.com>
Subject: Re: [Mediawiki-l] Install on Windows Problem
To: mediawiki-l(a)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:
<?php
# 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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l