Page 1 of 1

[SOLVED] mediawiki installation

PostPosted: Dec 20th, '19, 07:19
by frogzie
Hi!
I'm trying to install mediawiki, but to no avail.

Issue:
- http://localhost/mediawiki/
- Page displays: "Please complete the installation and download LocalSettings.php."
- http://localhost/mediawiki/mw-config/index.php
- Page displays:
-PHP 7.3.11 is installed
- Could not find a suitable database driver! You need to install a database driver for PHP.

Note: my Apache web server runs just fine.

System (from uname -a):
- Linux 5.4.2-desktop-1.mga7 #1 SMP x86_64 x86_64 x86_64 GNU/Linux

Installed RPMs:
- mediawiki-mysql-1.31.5-1.mga7
- mediawiki-1.31.5-1.mga7
- php-mysqli-7.3.11-1.mga7
- php-mysqlnd-7.3.11-1.mga7
- mariadb-core-10.3.20-1.mga7
- lib64mariadb3-10.3.20-1.mga7
- mariadb-client-10.3.20-1.mga7
- mariadb-common-core-10.3.20-1.mga7
- mariadb-10.3.20-1.mga7
- mariadb-common-10.3.20-1.mga7
- mariadb-extra-10.3.20-1.mga7
- apache-2.4.39-1.mga7

Thanks

Re: mediawiki installation

PostPosted: Dec 21st, '19, 14:17
by martinw
Just tried this, and got the same message until I installed the php-mysqli package (which wasn't installed automatically as a dependency). Did you restart the httpd service after installing that package?

Re: mediawiki installation

PostPosted: Dec 21st, '19, 14:42
by frogzie
Thanks for your response. I had tried "apachectl restart" (a few times actually), but the installation kept failing with the same error message, even using different browsers in case of a browser cache problem.
After your message tonight (Australia), I initiated a full reboot of the machine... and the installation now has succeeded! Thanks!

Re: mediawiki installation

PostPosted: Dec 21st, '19, 16:30
by isadora
Would you please mark this topic [SOLVED]?
You can do so by editing the title/subject of the first message in the topic.
Place [SOLVED] in front of subject/title.

Thanks ahead. :)