Fedora 23

来自Shiyin's note
跳到导航 跳到搜索
  • mediawiki 升级到1.25,默认配置报错,说某些组件默认不安装
"MediaWiki requires the PSR-3 logging library to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user. Please see mediawiki.orgfor help on installing the required components."
  • 解决方法
  1. git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git(下载)
  2. 将composer.json文件copy到原来的wiki目录里面
  3. 获取composer
    curl -sS https://getcomposer.org/installer | php
    mv composer.phar /usr/local/bin/composer
  4. 在原目录里面执行composer install --no-dev