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(a)onebox.com - email
-----Original Message-----
From: Jon.G.Bartlett(a)gsk.com
Sent: Wed, 9 Sep 2009 12:15:14 +0100
To: "MediaWiki announcements and site admin list" <mediawiki-l(a)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(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.
-----------------------------------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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.
If all of these things are correct and yet PHP is not able to load MySQL, then I have a serious problem with the PHP installation.
Given that I have yet to set up anything beyond basic installation, I have no great investment in this configuration. Is it your recommendation that I uninstall all the constituent pieces and start over?
Thanks.
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Platonides <Platonides(a)gmail.com>
Sent: Tue, 08 Sep 2009 17:46:11 +0200
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
cknell(a)onebox.com wrote:
> OK, thread restored.
>
> Am I looking for a table identified as MySQL or for a value in one of the cells of the tables?
Looking for a table.
> There is no table called MySQL. The configuration section has the following tables:
That's the problem. For some reason, php is not loading mysql extension.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I'm not certain that I have a clear understanding of the relationship between the Apache Web Server and PHP. I can't say exactly where I got the idea, but it is my impression that the PHP executable is called by httpd, and given that, PHP would be executing under the same user account as Apache. If that is so, then the answer to the question:
"Are the Mysql dlls etc. readable/executable by the user account that is running php?"
is "Yes". I have started httpd manually by opening a command window as the Windows Administrator which has full control over the mysqld.exe file.
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Jean-Marc van Leerdam <j.m.van.leerdam(a)gmail.com>
Sent: Tue, 8 Sep 2009 21:57:49 +0200
To: MediaWiki announcements and site admin list <mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
Hi,
2009/9/8 <cknell(a)onebox.com>:
> I have a command-line program for interacting with MySQL running at the moment. I am able to connect to the instance of MySQL and query the database. In the world of Windows a "service" has a particular connotation. Is your question, "Do you have MySQL installed as a Windows service, and is it running?", or is it more general as I describe in my first two sentences?
I was referring to the first situation. If it is running and
accessible from the commandline then that should be OK...
Not sure what the problem might be. Perhaps a permission issue? Are
the Mysql dlls etc. readable/executable by the user account that is
running php?
--
Regards,
Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I have a command-line program for interacting with MySQL running at the moment. I am able to connect to the instance of MySQL and query the database. In the world of Windows a "service" has a particular connotation. Is your question, "Do you have MySQL installed as a Windows service, and is it running?", or is it more general as I describe in my first two sentences?
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Jean-Marc van Leerdam <j.m.van.leerdam(a)gmail.com>
Sent: Tue, 8 Sep 2009 21:09:09 +0200
To: MediaWiki announcements and site admin list <mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
Hi,
2009/9/8 <cknell(a)onebox.com>:
> 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.
>
> If all of these things are correct and yet PHP is not able to load MySQL, then I have a serious problem with the PHP installation.
>
> Given that I have yet to set up anything beyond basic installation, I have no great investment in this configuration. Is it your recommendation that I uninstall all the constituent pieces and start over?
>
Maybe a silly question, but do you have MySQL actually running? It is
a separate service, that needs to be running before you can access it.
--
Regards,
Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
OK, thread restored.
Am I looking for a table identified as MySQL or for a value in one of the cells of the tables?
There is no table called MySQL. The configuration section has the following tables:
PHP Core
apache2handler
Apache Environment
HTTP Headers Information
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
hash
iconv
json
libxml
odbc
pcre
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xsmwriter
zlib
Additional Modules (no rows in this table)
Environment
PHP Variables
PHP License
====================
Please, don't break threading.
cknell(a)onebox.com wrote:
> What do I look for in the output?
A header called mysql
And the table below would have:
"MySQL Support enabled"
====================
What do I look for in the output?
--
Charles Knell
cknell(a)onebox.com - email
====================
mysqli is not needed, just mysql.
The problemm is that, even though you have MySQL working standalone, you
don't have mysql working with php.
Run a phpinfo(), if mysql extension were properly installed, it would
appear there.
====================
My environment:
Windows Vista Home Premium Edition
Apache 2.2.13 (Win32)
MySQL 5.1.38 MySQL Community Server
PHP 5.2.10
MediaWiki 1.15.1
I have installed and tested Apache. It's working.
I have installed and tested MySQL. It's working.
I have installed and tested PHP. It's working.
When I attempt to install MediaWiki, I get an error message telling me that it
"Could not find a suitable database driver."
I have only one php.ini file on my system and according to the phpinfo()
function, that is the one that is loaded.
Both the php_mysql.dll and php_mysqli.dll are listed in php.ini and not
commented out in the extensions section:
extension=php_mysql.dll
extension=php_mysqli.dll
Please, can someone suggest something else to check or do that will enable me
to install MediaWiki?
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: cknell(a)onebox.com
Sent: Sat, 05 Sep 2009 23:01:02 -0400
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
I ran run D:\php\php.exe -i as you suggested and I redirected the output to a text file. Here's what I've found:
Configuration File (php.ini) Path => C:\Windows
Loaded Configuration File => D:\php\php.ini
Further down I see a list of Dynamic Extensions. Among these is
extension=php_mysql.dll
Any thoughts?
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Platonides <Platonides(a)gmail.com>
Sent: Sat, 05 Sep 2009 23:37:44 +0200
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] MediaWiki 1.15.1 on Vista Home Premium Edition install error
cknell(a)onebox.com wrote:
> Thanks again. There is no mention of MySQL, nor is there anything that I can interpret as an error message.
mysql extension hasn't been loaded, despite your changes to php.ini
Perhaps it's loading a different php.ini?
You can run D:\php\php.exe -i and look for "Loaded Configuration File"
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello,
I already had configured a namespace with certain rights defined for
users in that group :
$wgGroupPermissions['bac2008']['read'] = true;
$wgGroupPermissions['bac2008']['edit'] = true;
$wgGroupPermissions['bac2008']['createpage']= true;
$wgGroupPermissions['bac2008']['upload']= true;
$wgGroupPermissions['bac2008']['createtalk']= true;
$wgExtraNamespaces = array(100 => "bac2008", 101 => "bac2008_talk" );
$wgGroupPermissions['root']['editroot'] = true;
$wgNamespaceProtection[NS_MAIN] = $wgNamespaceProtection[NS_USER] =
$wgNamespaceProtection[NS_PROJECT] = $wgNamespaceProtection[NS_IMAGE] =
$wgNamespaceProtection[NS_TEMPLATE] = $wgNamespaceProtection[NS_HELP] =
$wgNamespaceProtection[NS_CATEGORY] = array( 'editroot' );
$wgGroupPermissions['bac2008']['editbac2008'] = true;
$wgNamespaceProtection[ 100 ] = array( 'editbac2008' );
I want to add another namespace, with other rights for other users. I
tried adding :
$wgGroupPermissions['gt_acc']['read'] = true;
$wgGroupPermissions['gt_acc']['edit'] = true;
$wgGroupPermissions['gt_acc']['createpage']= true;
$wgGroupPermissions['gt_acc']['upload']= true;
$wgGroupPermissions['gt_acc']['createtalk']= true;
$wgExtraNamespaces = array(200 => "gt_acc", 201 => "gt_acc_talk" );
$wgGroupPermissions['gt_acc']['editgt_acc'] = true;
$wgNamespaceProtection[ 200 ] = array( 'editgt_acc' );
But then, pages from my first namespace [bac2008] doesn't work. Pages I
had made for that namespace are marked as not created.
I'll need to make several more namespaces, for different groups using
the wiki (some groups who can only access their namespace, some groups
who can access several namespaces).
What I am doing wrong? Is there any way easier than this one?
Thanks
André
What happens, if you delete the following lines?
RewriteRule ^wiki/*$ /cbwiki/index.php [L,QSA]
RewriteRule ^/*$ /cbwiki/index.php [L,QSA]
It's working for me this way:
"LocalSettings.php"
$wgScriptPath = "/usr/cvb/mediawiki-1.15.1";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true;
".htaccess" in my DOCUMENT_ROOT (/opt/lampp/htdocs):
RewriteEngine On
RewriteRule ^wiki/(.*)$ /usr/cvb/mediawiki-1.13.1/index.php?title=$1 [PT,L,QSA]
Best regards,
Claus
----------
This message was sent from a MailNull anti-spam account. You can get
your free account and take control over your email by visiting the
following URL.
http://mailnull.com/
What do I look for in the output?
--
Charles Knell
cknell(a)onebox.com - email
-----Original Message-----
From: Platonides <Platonides(a)gmail.com>
Sent: Tue, 08 Sep 2009 00:33:06 +0200
To: mediawiki-l(a)lists.wikimedia.org
Subject: Re: [Mediawiki-l] Still frustrated with MediaWiki 1.15.1 installation and PHP-MySQL failure
cknell(a)onebox.com wrote:
> My environment:
>
> Windows Vista Home Premium Edition
> Apache 2.2.13 (Win32)
> MySQL 5.1.38 MySQL Community Server
> PHP 5.2.10
> MediaWiki 1.15.1
>
> I have installed and tested Apache. It's working.
> I have installed and tested MySQL. It's working.
> I have installed and tested PHP. It's working.
>
> When I attempt to install MediaWiki, I get an error message telling me that it "Could not find a suitable database driver."
>
> I have only one php.ini file on my system and according to the phpinfo() function, that is the one that is loaded.
>
> Both the php_mysql.dll and php_mysqli.dll are listed in php.ini and not commented out in the extensions section:
>
> extension=php_mysql.dll
> extension=php_mysqli.dll
>
> Please, can someone suggest something else to check or do that will enable me to install MediaWiki?
mysqli is not needed, just mysql.
The problemm is that, even though you have MySQL working standalone, you
don't have mysql working with php.
Run a phpinfo(), if mysql extension were properly installed, it would
appear there.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
My environment:
Windows Vista Home Premium Edition
Apache 2.2.13 (Win32)
MySQL 5.1.38 MySQL Community Server
PHP 5.2.10
MediaWiki 1.15.1
I have installed and tested Apache. It's working.
I have installed and tested MySQL. It's working.
I have installed and tested PHP. It's working.
When I attempt to install MediaWiki, I get an error message telling me that it "Could not find a suitable database driver."
I have only one php.ini file on my system and according to the phpinfo() function, that is the one that is loaded.
Both the php_mysql.dll and php_mysqli.dll are listed in php.ini and not commented out in the extensions section:
extension=php_mysql.dll
extension=php_mysqli.dll
Please, can someone suggest something else to check or do that will enable me to install MediaWiki?
--
Charles Knell
cknell(a)onebox.com - email