Can't open the project from your project directory in WAMP SERVER.....although the project name is showing there when i click on it the message displayed is "Unable to connect to internet"
Asked
Active
Viewed 1.5k times
4
-
Have you disabled networking? – RiggsFolly Sep 30 '14 at 15:27
3 Answers
6
In your "www" folder, open index.php and change line 30 from
$suppress_localhost = true;
to
$suppress_localhost = false;

Ben N
- 2,883
- 4
- 26
- 49

preet singh
- 61
- 1
- 2
1
In your www
folder, open index.php
and change line 33 from
$suppress_localhost = ($wampConf['urlAddLocalhost'] == 'off' ? true : false);
to
$suppress_localhost = ($wampConf['urlAddLocalhost'] == 'on' ? true : false);

tuomastik
- 4,559
- 5
- 36
- 48

AMIT KUMAR
- 11
- 1
1
Right click on the taskbar wamp icon, in the wamp setting, enable "Add localhost in url".
Don't mess up the index.php configurations with hardcoded thingies. It works but it may backfire in future.

sepehr solouki
- 11
- 1