[Mediawiki-l] mediawiki installation error in ubuntu 10.04

ren yufei renyufei83 at yahoo.com.cn
Mon Oct 11 22:59:42 UTC 2010

Thank you. But I have already installed the php5-mysql,

$ sudo apt-get install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Do you need any of configuration files?


From: Platonides <Platonides at gmail.com>
To: mediawiki-l at lists.wikimedia.org
Sent: Mon, October 11, 2010 6:52:52 PM
Subject: Re: [Mediawiki-l] mediawiki installation error in ubuntu 10.04

ren yufei wrote:
> Dear all,
> There is a problem when I try to configure the mediawiki on Ubuntu 10.04.
> ______________________________________________________
> MediaWiki 1.15.1 Installation
>     * Don't forget security updates! Keep an eye on the low-traffic         
> announcements mailing list. 
> Checking environment...
> Please include all of the lines below when reporting installation problems.
>     * PHP 5.3.2-1ubuntu4.5 installed
> Could not find a suitable database driver!
>     * For MySQL, compile PHP using --with-mysql, or install the mysql.so 
>     * For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so 
> module
>     * For SQLite, compile PHP using --with-pdo_sqlite, or install the 
> module
>     * For MSSQL, compile PHP using --with-mssql not ready, or install the mssql 
> ready.so module
>     * For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so 
> refer the installation guide as follows, and modified the 
> /etc/apache2/apache2.conf
> and
> /etc/php5/apache2/php.ini
> as the guide said.
> http://www.mediawiki.org/wiki/Manual:Installing_Mediawiki_on_Ubuntu_10.04
> http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu
> Thank you for your help.
> Yufei

Well, you don't have any database driver in php that mediawiki can use.
Try doing
sudo apt-get install php5-mysql

MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org


More information about the MediaWiki-l mailing list