Linux:MediaWiki升级
从1.29.1升级到1.30
apt-get update
apt-get install php7.2 libapache2-mod-php7.2 php7.2-sqlite3 php7.2-xml php7.2-mbstring
cd /etc/apache2/mods-enabled
rm -f php5.6*
cp ../mods-available/php7.2* ./
service apache2 restart
需要拷贝的文件:
- localsettings.php
- images
- logo
注意有些皮肤和extension可能不见了,在localsettings.php中删除即可