I have a problem running PHP in XAMPP 1.7.7 for windows. I\'ve installed XAMPP in a local server with IIS (changed the port to 81 in httpd.conf as well as other configuratio
Make sure you are not running it as a file from your drive, (my example):
*file:///C:/xampp/htdocs/(path)*
but rather as a webpage, which means the address must start with "localhost"
*http://localhost/(path)*
If you are using a different port (not the standard 80, but for example 8080), then:
*http://localhost:8080/(path)*