I'm using XAMPP 1.7.7 with Windows 7.
So I've just installed XAMPP and I tried testing it with a simple "Hello World" PHP script like the one below:
- Code: Select all
<?php
Echo "Hello, World!";
?>
I've saved the file as test.php, then entered http://localhost/test.php into Google Chrome and I get a blank page. When I click "View Source" I can see the PHP code.
Were there any additional settings I should have made? I've only installed XAMPP and dove straight in as I didn't see any configuration messages. The Status bit on the localhost page shows everything working in order (Apache, MySQL, PHP).
I'm really at a loss, especially since this is the first time I've tried monkeying around with PHP (well, the second time, actually, since I couldn't get it to work when I had installed Apache and PHP separately - I had the same blank screen issue). Anyone have any idea what's going on? I'm 99% sure that it's something trivial that I'm overlooking and I'm a dum-dum.