Solution of WampServer: Localhost problem
1. Setup 2012 Visual C++ Redistributable for Visual Studio Update 4 by administration
2. Setup 2015 Redistribuable Visual C++ pour Visual Studio by administration
3. Setup wamp server 3 or wamp server 2.1 or wamp server 2 by administration
4. Open php.ini from C:\wamp\bin\php\php5.6.15 and
change ;extension=php_mbstring.dll into extension=php_mbstring.dll (delete the ";")
5. if you using wamp server 2.5 or later, Copy php.ini file from C:\wamp\bin\php\php5.6.15 to both directories
C:\wamp\bin\apache\apache2.4.17\bin and C:\Windows
6. Remember, after setup when you will run it always open by run as administrator option.
7. if you using wamp server 2.5 or later Enter C:\wamp\www directory and open index.php,
Find $suppress_localhost = true; Change it to $suppress_localhost = false;
save and close it.
8. if you using wamp server 2.5 or later, in coding file add an extra line after php tag example:-
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
......
........
others as usual php code.
.......
?>
9. Remember wamp server 3 Username: root and password: [Empty / Blank]
2. Setup 2015 Redistribuable Visual C++ pour Visual Studio by administration
3. Setup wamp server 3 or wamp server 2.1 or wamp server 2 by administration
4. Open php.ini from C:\wamp\bin\php\php5.6.15 and
change ;extension=php_mbstring.dll into extension=php_mbstring.dll (delete the ";")
5. if you using wamp server 2.5 or later, Copy php.ini file from C:\wamp\bin\php\php5.6.15 to both directories
C:\wamp\bin\apache\apache2.4.17\bin and C:\Windows
6. Remember, after setup when you will run it always open by run as administrator option.
7. if you using wamp server 2.5 or later Enter C:\wamp\www directory and open index.php,
Find $suppress_localhost = true; Change it to $suppress_localhost = false;
save and close it.
8. if you using wamp server 2.5 or later, in coding file add an extra line after php tag example:-
<?php
error_reporting(E_ALL ^ E_DEPRECATED);
......
........
others as usual php code.
.......
?>
9. Remember wamp server 3 Username: root and password: [Empty / Blank]