MediaWIKI Upgrade: Difference between revisions

mNo edit summary
mNo edit summary
Line 11: Line 11:
For the database, use the command line or phpMyAdmin.  phpMyAdmin makes it really easy.  Select the database, export, simple, Go, save it, done.
For the database, use the command line or phpMyAdmin.  phpMyAdmin makes it really easy.  Select the database, export, simple, Go, save it, done.


== PHP ==
==PHP==
This is a good opportunity to upgrade PHP too.  As of this writing, 5.2020, MediaWiki claims there is an issue with version 1.3.X of MediaWiki and PHP 7.4.X, so use 7.3.X
This is a good opportunity to upgrade PHP too.  As of this writing, 5.2020, MediaWiki claims there is an issue with version 1.3.X of MediaWiki and PHP 7.4.X, so use 7.3.X
  yum clean all
  yum upgrade php73* (This will upgrade all relevant PHP version 7.3 modules if FCGI is being used)


==Upgrade (Actually Install and Copy)==
==Upgrade (Actually Install and Copy)==
Get the latest version (FULL version, not upgrade) of MediaWiki:https://www.mediawiki.org/wiki/Download
Get the latest version (FULL version, not upgrade) of MediaWiki:https://www.mediawiki.org/wiki/Download
Before unpacking it, rename the original Directory of MediaWiki that is being upgraded to (see steps above in BackUp!)


Unpack the TAR File: tar -xvzf mediawiki-1.xy.0.tar.gz -C /var/www/html/WhatEverDirectory (Don't worry about making a mess with a lot of files as the TAR File's first item is a Directory, as it should be)
Unpack the TAR File: tar -xvzf mediawiki-1.xy.0.tar.gz -C /var/www/html/WhatEverDirectory (Don't worry about making a mess with a lot of files as the TAR File's first item is a Directory, as it should be)