trevi Posted August 27, 2013 Share Posted August 27, 2013 hi, I installed wamp server last night and set up a folder under wamp/www folder. I put a simple php file and html file in that directory. When I try to get to that folder from localhost from wampserver, I either get a 404 or nothing. what am I doing wrong? Thank you for your help. Quote Link to comment https://forums.phpfreaks.com/topic/281600-localhost-question/ Share on other sites More sharing options...
Irate Posted August 27, 2013 Share Posted August 27, 2013 Your files should be located in the htdocs folder, otherwise localhost won't respond to them. Quote Link to comment https://forums.phpfreaks.com/topic/281600-localhost-question/#findComment-1446985 Share on other sites More sharing options...
trevi Posted August 29, 2013 Author Share Posted August 29, 2013 Hi, I created this folder, but I think my problem is that warp server never turned green. When I check the port 8, it says it is being used by IIS 7.5. I tried uninstalling it, but nothing works. Any ideas? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/281600-localhost-question/#findComment-1447247 Share on other sites More sharing options...
Irate Posted August 29, 2013 Share Posted August 29, 2013 Check your httpd.conf or your apache.conf file, find the line named "Listen" and change it to "Listen 1234", where you can change 1234 to whatever port you want. You must also then type in, if your line was 1234, "localhost:1234" or "127.0.0.1:1234" and then your file URL. Quote Link to comment https://forums.phpfreaks.com/topic/281600-localhost-question/#findComment-1447254 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.