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 release
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 module
- For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so
module
- For SQLite, compile PHP using --with-pdo_sqlite, or install the pdo_sqlite.so
module
- For MSSQL, compile PHP using --with-mssql not ready, or install the mssql not
ready.so module
- For DB2, compile PHP using --with-ibm_db2, or install the ibm_db2.so moduleI
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