尝试将旧版本的 mediawiki 转移到新服务器
所以,在大学里我有一个 Debian 服务器,用来托管 wiki,mediawiki 版本为 1.9。这台服务器停止工作了,我现在拥有的只有它的高清。我想将此 wiki 转移到同样运行 Debian 的新服务器,但使用 Debian 当前稳定版本的 mediawiki 1.15 无法实现此操作,因为无法将 wiki 转移到另一个版本的 mediawii。
所以,我的想法是在新服务器上安装mediawiki 1.9,然后移动wiki。但我在安装时遇到问题。
当我转到 http://my_hostname/config/index.php 来配置新的 wiki 时,所以当我可以转移另一个时,我收到以下消息,但没有任何反应:
Checking environment...
Please include all of the lines below when reporting installation problems.
PHP 5.3.3-7+squeeze8 installed"
我真的不知道出了什么问题。任何帮助将不胜感激!
So, in college I had a Debian server which used to host a wiki, with mediawiki version 1.9. This server stopped working, and all I have now is its HD. I want to transfer this wiki to a new server, which also runs Debian, but I can't do that with Debian's current stable version of mediawiki, 1.15, because it is not possible to transfer a wiki to another version of mediawii.
So, my idea is to install mediawiki 1.9 on the new server, and then move the wiki. But I am having problems with installing it.
When I go to http://my_hostname/config/index.php, to configure the new wiki, so that I can transfer the other one, I get the following message, and nothing happens:
Checking environment...
Please include all of the lines below when reporting installation problems.
PHP 5.3.3-7+squeeze8 installed"
I really don't have a clue on what is wrong. ANY help would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
就像您自己评论的那样,使用现有配置肯定值得尝试。配置通常是一些站点首选项和数据库配置,因此请确保数据库的设置方式与以前相同。
关于你的配置问题,也许php过滤掉了错误。您可以通过在
php.ini
中搜索error_reporting
来检查这一点。Like you commented yourself, it would certainly be worth a try to using your existing configuration. The configuration is typically some site preferences and database configuration, so make sure dat your database is setup in the same way as before.
Regarding your configuration problems, maybe php filters away the errors. You can check this by searching for
error_reporting
in yourphp.ini
.只需按照 http://www.mediawiki.org/wiki/Manual:Upgrading。尝试在 MediaWiki 1.9 上安装可能没有意义。
您可能需要首先全新安装 MediaWiki 1.18.1,以确保您的系统已准备就绪、满足所有依赖项等。
Just follow the instructions at http://www.mediawiki.org/wiki/Manual:Upgrading. Probably no point in trying to install at MediaWiki 1.9.
You may want to do a clean install of MediaWiki 1.18.1 first just to make sure your system is ready, all dependencies met, etc.