The following simple code produces a blank page.
<?php
namespace aname;
echo "Hello world";
?>
Why?
The following simple code produces a blank page.
<?php
namespace aname;
echo "Hello world";
?>
Why?
I had the same problem just now. The solution was to convert the php-file encoding to UTF-8 without BOM.
You can read about it here: Fix incorrectly displayed encoding on an html document with php and here: How to fix "Headers already sent" error in PHP
Most likely, you haven't actually installed PHP, or at least not correctly. Make sure that it's in your C:\ drive and that you followed the instillation instructions. If you used the installer, then try uninstalling then reinstalling and it should fix itself
Peace!