Jump to content

Manual talk:Running MediaWiki on Red Hat Linux

Add topic
From mediawiki.org

RHEL mw

[edit]

Is there a mediawiki package distributed with Red Hat Enterprise Linux? There is one included with recent versions of Fedora. 19:20, 8 February 2008 66.255.98.82

Red Hat Enterprise Linux Server Release 5.1

[edit]

All but one packages are available.

yum install php-mysql

Then unzip the mediawiki-1.12.0 software to /var/www/html.

Installed MediaWiki 1.12.0, but after configuring it, only a blank page is showed. 21:25, 6 August 2008 70.62.182.162

Installation: Red Hat Enterprise Linux 6.6

[edit]

Got an interesting error when trying to install Mediawiki(Version 1.26.1) on RHEL 6.6. Per the instructions I created my database in Mysql (Version 5.1.73) and I received error during the installation. The error stated that a database had already been created with the same name and the new database could not be created. I went back in and deleted the database and the user that I had created. I then ran the installation script and everything installed correctly. Not sure if that will help anyone else out but if you run into that then that's how I got around it.

Installation: Red Hat Enterprise Linux 6 or 7

[edit]

I cleaned up some ambiguous instructions, removed some un-needed alternate constructions that were accurate but not relevant.

It appears mediawiki is not currently in EPEL. Should the alternative instructions be removed? yum list mediawiki* only returns the following results at this time. mediawiki123-HTTP302Found.noarch, mediawiki123-RSS.noarch, mediawiki123-intersection.noarch

Red Hat Enterprise Linux version 8 and its default PHP version

[edit]

The page is stating :

RHEL8 includes PHP 7.2 so the standard PHP is fine

It contradicts the information given on the PHP's compatibility page saying that in order to run MediaWiki 1.35.0 the system needs to have, at least, PHP 7.4.X.

And later on this page, instructions are about the installation of the 1.35.0 version of MediaWiki.

So if someone is following these instructions (like I just did), they'll just land on an internal error page when opening the MediaWiki page for the first time.

In fact, a clarification is needed. Either by providing a way to upgrade PHP on RHEL 8 or by linking a previous version of MediaWiki in which PHP 7.2 is compatible (the 1.34.0 for example). — Preceding unsigned comment added by 2a01:e0a:136:e090:c0e9:cda8:55f:9ee6 (talkcontribs) 20:52, 24 November 2020‎ (UTC)Reply

When that was written PHP 7.2 was good enough. But now MediaWiki requires a newer version. I updated the page a few days ago to include instructions on switching RHEL 8 to use the PHP 7.4 stream. Most instructions I found online for doing this involved the third-party Remi repo, but as of 8.3 that isn't necessary since Red Hat added a module stream for 7.4. -- Hawaiian717 (talk) 23:54, 27 December 2020 (UTC)Reply