简体   繁体   中英

Wamp URL localhost issues

So I had installed Wamp and had it running fine. I just fired it up today and noticed it isn't working properly.

Lets say I want to view the files in the game folder.

so http://localhost/game/index.php

what it seems to do is go to http://game/index.php and misses the localhost part.

Another thing I noticed is in the Apache logs.

it shows cann't find file F:\\wamp\\www\\fav.jpg

but the fav file is in the game folder.

So it's making me wonder if some where some paths are not set correctly?

Even the index.php cannot load the database, even though the tables exit and have the correct database logins.

如果您的Wamp Server型号是Wamp Server 3.0.6 ,只需右键单击它,然后将鼠标指向Wamp Settings并启用Add localhost in url ...

You can update "urlAddLocalhost" variable in "wamp64/wampmanager.conf" file to on/off. By default it is "off".
My wamp version is 3.0.6.

urlAddLocalhost = "off" 

在此处输入图片说明

Although i bet it isn't your problem, are you running Skype while trying to use WAMP? If so, then that's the problem because they both use the same ports.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM