Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"

like image 987
Zimtech Avatar asked Feb 12 '23 22:02

Zimtech


2 Answers

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

$suppress_localhost = true;

to

$suppress_localhost = false;
like image 84
preet singh Avatar answered Feb 14 '23 10:02

preet singh


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);
like image 45
AMIT KUMAR Avatar answered Feb 14 '23 10:02

AMIT KUMAR