Quote:
Originally Posted by urbanwks
your httpd.conf probably has a line that looks like this:
Code:
DirectoryIndex index.html
...change it to this:
Code:
DirectoryIndex index.html index.php
and restart apache.
(provided that you have php installed and otherwise setup, of course)
|
Hi, I already add index.php at line DirectoryIndex at /etc/httpd/conf/httpd.conf
I manage to restart my httpd. After that, I go to my browser and put localhost/phpMyAdmin it shows:-
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Main loader script
*
* @package PhpMyAdmin
*/
/**
* Gets some core libraries and displays a top message if required
*/
require_once 'libraries/common.inc.php';
/**
* display Git revision if requested
*/
require_once 'libraries/display_git_revision.lib.php';
...
....
.....
......
.......
}
?>
it shows the code. what i'm supposedly to do to run normally.