Phppgadmin 页面不工作它显示 404 not fund 错误
Phppgadmin page not working it displays 404 not fund error
在我的 localhost/phppgadmin 中,它显示如下代码,我该怎么做才能解决我的问题..?
`
/**
* Main access point to the app.
*
* $Id: index.php,v 1.13 2007/04/18 14:08:48 mr-russ Exp $
*/
// Include application functions
$_no_db_connection = true;
include_once('./libraries/lib.inc.php');
$misc->printHeader('', null, true);
$rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0);
$cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*';
$mainframe = '<frame src="intro.php" name="detail" id="detail" frameborder="0" />'
?>
">
<frame src="browser.php" name="browser" id="browser" frameborder="0" />
<noframes>
<body>
<?php echo $lang['strnoframes'] ?><br />
<a href="intro.php"><?php echo $lang['strnoframeslink'] ?></a>
</body>
</noframes>
printFooter(假);
?>`
使用这个
sudo cp /etc/apache2/conf.d/phppgadmin
/etc/apache2/conf-enabled/phppgadmin.conf
sudo /etc/init.d/apache2 restart
在我的 localhost/phppgadmin 中,它显示如下代码,我该怎么做才能解决我的问题..? `
/**
* Main access point to the app.
*
* $Id: index.php,v 1.13 2007/04/18 14:08:48 mr-russ Exp $
*/
// Include application functions
$_no_db_connection = true;
include_once('./libraries/lib.inc.php');
$misc->printHeader('', null, true);
$rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0);
$cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*';
$mainframe = '<frame src="intro.php" name="detail" id="detail" frameborder="0" />'
?> ">
<frame src="browser.php" name="browser" id="browser" frameborder="0" />
<noframes>
<body>
<?php echo $lang['strnoframes'] ?><br />
<a href="intro.php"><?php echo $lang['strnoframeslink'] ?></a>
</body>
</noframes>
printFooter(假); ?>`
使用这个
sudo cp /etc/apache2/conf.d/phppgadmin /etc/apache2/conf-enabled/phppgadmin.conf
sudo /etc/init.d/apache2 restart