Charles,
in the PHP.ini file that gets loaded, there is a setting that specifies
where the extensions are...
For example on my system (PHP 5.3 installed via WAMPServer) it is ...
extension_dir = "e:/wamp/bin/php/php5.3.0/ext/" (Im running on Windows)
Also remember that there may be several PHP.ini files - one that the PHP
command line uses, and one that Apache (etc) uses.
If you enter the following in your webbrowser, you'll see what the PHP
info is being used for the webserver (which is what matters to MediaWiki).
http://localhost/?phpinfo=1
(PS, replace localhost with the name of your webserver if not local).
I hope this helps,
Jon
"Platonides" <Platonides(a)gmail.com>
Sent by: mediawiki-l-bounces(a)lists.wikimedia.org
08-Sep-2009 23:53
Please respond to "MediaWiki announcements and site admin list"
<mediawiki-l(a)lists.wikimedia.org>
To
mediawiki-l(a)lists.wikimedia.org
cc
Subject
Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install
error
cknell(a)onebox.com wrote:
Tell me if I understand correctly.
In order to use MySQL, PHP must load the extension php_mysql.dll.
This file is located in the "ext" subdirectory one level down from the
root of the php install directory.
In order to load this file, the directory must be in the search path. On
my
computer, the directory is d:\php\ext
If I see "d:\php\ext" in my search path ( I type "echo %PATH%" and
<Enter> at a command window prompt to see it.), then PHP should be able to
load this .dll.
I don't think php does it, although if it's in the PATH php may also get
it.
PHP configuration is at file php.ini
Php should load php_mysql.dll when you have extension=php_mysql.dll on
the appropiate section there.
It expects to find that file at the folder pointed by extension_dir
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-----------------------------------------------------------
This e-mail was sent by GlaxoSmithKline Services Unlimited
(registered in England and Wales No. 1047315), which is a
member of the GlaxoSmithKline group of companies. The
registered address of GlaxoSmithKline Services Unlimited
is 980 Great West Road, Brentford, Middlesex TW8 9GS.
-----------------------------------------------------------