I understand that this is a problem with many others and that this question has been asked before, but no matter what, nothing is working. In other situations, they get it eventually, but I've tried different versions of XAMPP and WAMP constantly and nothing works. Here's some things that I do know:
The documents I'm trying to run are in the "www" folder (WAMP) and "htdocs" folder (XAMPP). I'm using the default "test" pages that each program includes. This also means that they're not using the short PHP tags and they are PHP file types.
With WAMP, the icon turns green. I've had a problem in the past where it stayed yellow/orange, but I got it to go green. I also tried putting WAMP online, but that didn't make a difference.
Port 80 is not used. I changed Skype's settings to not use port 80. I also changed Apache's listening port to 81 temporarily, but no change.
Phpinfo() and localhost work on WAMP and XAMPP.
System Specs: Windows 7 64-Bit. (I've tried both 32-bit and 64-bit WAMP)
I tried it on my dad's laptop and that didn't work (Windows 7 32-bit). So it must not be something wrong with my computer?
Typing localhost/testmysql.php in the address bar shows this: I'm not sure what that means, but since a default file is named "testmysql.php" in the "www" folder, this is odd.
If you have any questions, just leave a comment. I'm sure that if this problem gets solved, then any situation that anyone else has can look here and find a solution. Thanks for your help in advance.