--
Charles Knell
cknell@onebox.com - email
-----Original Message-----
From: cknell@onebox.com
Sent: Wed, 09 Sep 2009 09:03:54 -0400
To: mediawiki-l@lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
Thank you for your reply.
> 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)
o My installation is running on (or failing to run on) Windows Vista Home Premium.
o My PHP installation is at D:\php and the extensions are in D:\php\ext.
o The PATH system variable shows that D:\php\ext is included.
o In the php.ini file, the extension_dir is set with this entry: extension_dir=D:\php\ext
> Also remember that there may be several PHP.ini files
o My computer has exactly one php.ini file. It is located at d:\php\php.ini. I have verified this by using the file explorer's find file function.
> 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).
o This reports that the Loaded Configuration File is D:php\php.ini.
--
Charles Knell
cknell@onebox.com - email
-----Original Message-----
From: Jon.G.Bartlett@gsk.com
Sent: Wed, 9 Sep 2009 12:15:14 +0100
To: "MediaWiki announcements and site admin list"
mediawiki-l@lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
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@gmail.com
Sent by: mediawiki-l-bounces@lists.wikimedia.org
08-Sep-2009 23:53
Please respond to "MediaWiki announcements and site admin list"
mediawiki-l@lists.wikimedia.org
To
mediawiki-l@lists.wikimedia.org
cc
Subject
Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install
error
cknell@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@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.
-----------------------------------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l