Jump to content

wamp(s) not working here/alternative?


paulmo

Recommended Posts

i've got to learn php but wamp5 and xampp aren't working here. 404 errors all around, and after following directions, disabling windows firewall (which quickly got me into trouble), checking port 80. all systems look great when troubleshooting, it's just not displaying pages. xp sp2no shared ports to conflictso, do i practice php code and only see it after uploading to godaddy? or is there another method (rather than putting components in manually--suspect that wouldn't work either).thanks

Link to comment
Share on other sites

If you just go to http://localhost/, what do you see?
oh yeah i see that much...localhost page, mysql, php, the whole shebang...as i said it all looks great. then i put in http://localhost/files/index.php (for example--files being the folder within wamp or htdoc for xampp), and then the 404 error screen, this page cannot be displayed, etc. it would be great to work from my machine and save upload step. any other ideas? thanks
Link to comment
Share on other sites

First, make sure that the error is actually a 404 and not a 500. IE will show "friendly" HTTP errors by default, it pretty much shows one page for every error. If you're testing with IE, you'll want to go into the options and disable the friendly error messages, or else try testing with another browser. You might have a PHP error or something that IE is showing as the generic "page cannot be found" page.

Link to comment
Share on other sites

yes, using ie. it's definitely error 404. is that friendly? no doubt my html has errors, but my site loads fine on the web. so you're saying that for every html error i'll get a cannot display page screen? if that's the case will definitely keep using godaddy as tester, as that displays everything (except parts that aren't working, which helps me anyway). am i getting this right?

Link to comment
Share on other sites

Not HTML errors, HTTP errors. The server might have an error with PHP, maybe a startup error or something, but instead of IE showing "HTTP 500: internal server error, <PHP error message>", IE will just show the normal "page cannot be displayed page", but you don't have an indication if that means 404 or 500 or 403 or whatever. There is a setting in IE to disable that behavior and just show the actual error message, or you can try a different browser. The purpose is to determine exactly what the server is telling the browser without having the browser make that "friendly" to the user.

Link to comment
Share on other sites

By the way, the files you create have to go (e.g. is you use WAMP) in wamp/www/. So if you create the file wamp/page.php, the www server CANNOT see it. It will have to be wamp/www/page.php then you can access it via http://localhost/page.php

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...