Bug 7440 - Mediawiki does not recognise php-sqlite3 database driver during web based installation
Summary: Mediawiki does not recognise php-sqlite3 database driver during web based ins...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Oliver Burger
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 4887
  Show dependency treegraph
 
Reported: 2012-09-11 10:53 CEST by claire robinson
Modified: 2013-04-13 14:30 CEST (History)
5 users (show)

See Also:
Source RPM: mediawiki
CVE:
Status comment:


Attachments

Description claire robinson 2012-09-11 10:53:20 CEST
When installing and choosing sqlite3 for database it installs mediawiki-sqlite and php-sqlite3 but when performing the web based installation and does the environment checks it does not recognise sqlite is available.
claire robinson 2012-09-11 10:54:13 CEST

Assignee: bugsquad => oliver.bgr

Comment 1 claire robinson 2012-09-11 11:12:29 CEST
Just realised you've built the new one into updates_testing, I'll retest
Comment 2 claire robinson 2012-09-11 11:33:52 CEST
Valid for the testing version too Oliver, sorry.

PHP 5.4.5 is installed.

Could not find a suitable database driver! You need to install a database driver for PHP. The following database types are supported: MySQL, PostgreSQL, Oracle, SQLite, IBM DB2.
If you are on shared hosting, ask your hosting provider to install a suitable database driver. If you compiled PHP yourself, reconfigure it with a database client enabled, for example using ./configure --with-mysql. If you installed PHP from a Debian or Ubuntu package, then you also need install the php5-mysql module.


This installation is listed below:

# urpmi --searchmedia Testing mediawiki                                                                                    
In order to satisfy the 'php-gd' dependency, one of the following packages is needed:
 1- php-gd-5.4.5-2.mga3.x86_64: GD extension module for PHP (to install)
 2- php-gd-bundled-5.4.5-1.mga3.x86_64: GD extension module for PHP (to install)
What is your choice? (1-2) 1
In order to satisfy the 'mediawiki-sql[== 1.19.2-1.mga3]' dependency, one of the following packages is needed:
 1- mediawiki-pgsql-1.19.2-1.mga3.noarch: Mediawiki with postgresql database (to install)
 2- mediawiki-sqlite-1.19.2-1.mga3.noarch: Mediawiki with sqlite database (to install)
 3- mediawiki-mysql-1.19.2-1.mga3.noarch: Mediawiki with mysql database (to install)
What is your choice? (1-3) 2
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  apache-mod_php                 5.4.5        2.mga3        x86_64  (suggested)
  imagemagick                    6.7.9.3      1.mga3        x86_64  
  lib64cdt5                      2.28.0       5.mga3        x86_64  
  lib64croco0.6_3                0.6.5        1.mga2        x86_64  
  lib64fftw3                     3.3.2        2.mga3        x86_64  
  lib64graph5                    2.28.0       5.mga3        x86_64  
  lib64gvc6                      2.28.0       5.mga3        x86_64  
  lib64lqr0                      0.4.1        4.mga2        x86_64  
  lib64magick5                   6.7.9.3      1.mga3        x86_64  
  lib64pathplan4                 2.28.0       5.mga3        x86_64  
  lib64php5_common5              5.4.5        2.mga3        x86_64  
  lib64rsvg2_2                   2.36.3       1.mga3        x86_64  
  lib64t1lib5                    5.1.2        12.mga2       x86_64  
  lib64wmf0.2_7                  0.2.8.4      24.mga3       x86_64  
  libgomp1                       4.7.1        7.mga3        x86_64  
  php-cli                        5.4.5        2.mga3        x86_64  
  php-ctype                      5.4.5        2.mga3        x86_64  
  php-dom                        5.4.5        2.mga3        x86_64  
  php-filter                     5.4.5        2.mga3        x86_64  
  php-ftp                        5.4.5        2.mga3        x86_64  
  php-gd                         5.4.5        2.mga3        x86_64  
  php-gettext                    5.4.5        2.mga3        x86_64  
  php-hash                       5.4.5        2.mga3        x86_64  
  php-ini                        5.4.5        2.mga3        x86_64  
  php-json                       5.4.5        2.mga3        x86_64  
  php-openssl                    5.4.5        2.mga3        x86_64  
  php-pdo                        5.4.5        2.mga3        x86_64  
  php-pear                       1.9.4        6.mga3        noarch  
  php-pear-Mail                  1.2.0        1.mga2        noarch  
  php-pear-Net_SMTP              1.6.1        1.mga2        noarch  
  php-pear-Net_Socket            1.0.10       1.mga1        noarch  
  php-posix                      5.4.5        2.mga3        x86_64  
  php-session                    5.4.5        2.mga3        x86_64  
  php-sqlite3                    5.4.5        2.mga3        x86_64  
  php-suhosin                    0.9.34       0.0.git1fba8> x86_64  (suggested)
  php-sysvsem                    5.4.5        2.mga3        x86_64  
  php-sysvshm                    5.4.5        2.mga3        x86_64  
  php-timezonedb                 2012.4       2.mga3        x86_64  
  php-tokenizer                  5.4.5        2.mga3        x86_64  
  php-xml                        5.4.5        2.mga3        x86_64  
  php-xmlreader                  5.4.5        2.mga3        x86_64  
  php-xmlwriter                  5.4.5        2.mga3        x86_64  
  php-zlib                       5.4.5        2.mga3        x86_64  
  t1lib-config                   5.1.2        12.mga2       x86_64  
  urw-fonts                      2.4          2.mga2        noarch  
(medium "Core Updates Testing")
  mediawiki-sqlite               1.19.2       1.mga3        noarch  
(medium "Core 32bit Updates Testing")
  mediawiki                      1.19.2       1.mga3        noarch  
95MB of additional disk space will be used.
21MB of packages will be retrieved.
Proceed with the installation of the 47 packages? (Y/n) y
Marja Van Waes 2012-09-11 15:27:38 CEST

CC: (none) => doc-bugs, marja11

Comment 3 claire robinson 2012-10-08 18:21:55 CEST
Still valid today.

# rpm -qa | grep mediawiki
mediawiki-sqlite-1.19.2-2.mga3
mediawiki-1.19.2-2.mga3
Marja Van Waes 2013-02-26 20:03:06 CET

Blocks: (none) => 4887

Comment 4 Olivier Blin 2013-03-31 01:58:55 CET
This might be the same PHP Suhosin issue I got with Tiny Tiny RSS.
Session saving was broken if the PHP app was setting its own session storage handlers (for example to save session in a database).
See http://svnweb.mageia.org/packages?view=revision&revision=406811 and https://github.com/stefanesser/suhosin/pull/26

Please try php-suhosin-debuginfo-0.9.34-0.0.git1fba865.4.mga3

CC: (none) => mageia, oe

Comment 5 Guillaume Rousse 2013-04-13 14:30:21 CEST
I can't reproduce with current cauldron, closing.

Status: NEW => RESOLVED
CC: (none) => guillomovitch
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.