标题: mantis安装后,访问页面,怎么出现如下的原程序啊 [打印本页] 作者: xjc10 时间: 2005-10-31 23:05 标题: mantis安装后,访问页面,怎么出现如下的原程序啊 mantis安装后,访问页面,怎么出现如下的原程序啊
请问到底是什么没装好
<?php
# Mantis - a php based bugtracking system
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
# Copyright (C) 2002 - 2004 Mantis Team - mantisbt-dev@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
<!-- Version Check -->
<table width="100%" bgcolor="#0000aa" border="0" cellpadding="20" cellspacing="1">
<tr>
<td bgcolor="#f0f0ff">
<span class="title">Version</span>
<p>Mantis requires at least <b>PHP <?php echo PHP_MIN_VERSION ?></b>. If you are not running this version or above, you or your administrator will need to upgrade your build of PHP.</p>
<p>You are running <b>PHP <?php echo $version ?></b></p>
</td>
</tr>
</table>
You have register_globals enabled in PHP, which is considered a security risk. Since version 0.18, Mantis has no longer relied on register_globals being enabled. PHP versions later that 4.2.0 have this option disabled by default. For more information on the security issues associated with enabling register_globals, see <a href="http://www.php.net/manual/en/security.globals.php">this page</a>.
If you have no other PHP applications that rely on register_globals, you should add the line <pre>register_globals = Off</pre> to your php.ini file; if you do have other applications that require register_globals, you could consider disabling it for your Mantis installation by adding the line <pre>php_value register_globals off</pre> to a <tt>.htaccess</tt> file or a <tt><Directory></tt> or <tt><Location></tt> block in your apache configuration file. See the apache documentation if you require more information.
</td>
</tr>
</table>