localhost and phpMyAdmin cannot access
I have newly installed PHP 5.5,apache 2.2 (httpd 2.2), MySQL 5.5 and phpMyAdmin 3.5.2.2.
My browser address bar input 127.0.0.L will be able to display Apache software Foundation\apache2.2\htdocs below the index.html, if the input localhost can not be accessed.
I modified the C:\Windows\System32\drivers\etc under the Hosts file, remove the 127.0.0.1 before the #, now is this:
"127.0.0.1 localhost
#::1 localhost
"
Reboot the machine, localhost still cannot access.
Enter http://localhost the list of files and folders that appear under \apache2.2\htdocs.
The config.default.php copy from Phpmyadmin\libraries to the parent directory is renamed to config.inc.php, which modifies the
$cfg [' blowfish_secret '] = ' 123456 ';
$cfg [' Servers '] [$i] [' user '] = ' root ';
$cfg [' Servers '] [$i] [' password '] = ' CBB74BC ';
$cfg [' Servers '] [$i] [' auth_type '] = ' config ';
127.0.0.1/phpmyadmin and Localhost/phpmyadmin still can't access
------Solution--------------------
See what is the value of DocumentRoot http.conf file?
------Solution--------------------
PHP Code
127.0.0.1