Upgrading MediaWiki

Always make sure to first backup your database and website files before making any adjustments. This way, if something were to error you could quickly replace your files. View the following article for details:

If you used the One-Click Install feature to install MediaWiki, visit the following article for upgrade instructions:

If you have a manual install, view the following guide:

It may be necessary to run the /maintenance/update.php script after upgrading. To do so, log into your site via SSH. Then run the following command:

[server]$ php /maintenance/update.php

This runs an update script that should fix any current errors on your site. If that doesn't work, specify the full path to a version of PHP. For example:

[server]$ /usr/local/php56/bin/php maintenance/update.php

See also

Did this article answer your questions?

Article last updated .