Zimtech
Zimtech

Reputation: 41

project is not opening from your projects directory in wamp server even it is showing

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

Answers (3)

sepehr solouki
sepehr solouki

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

AMIT KUMAR
AMIT KUMAR

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

preet singh
preet singh

Reputation: 61

In your "www" folder, open index.php and change line 30 from

$suppress_localhost = true;

to

$suppress_localhost = false;

Upvotes: 6

Related Questions