Reputation: 41
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"
Upvotes: 4
Views: 15716
Reputation: 11
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.
Upvotes: 1
Reputation: 11
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);
Upvotes: 1
Reputation: 61
In your "www" folder, open index.php and change line 30 from
$suppress_localhost = true;
to
$suppress_localhost = false;
Upvotes: 6