A create a php file with that code to test:
<?php phpinfo(); ?>
and I get that screen: https://dl.dropboxusercontent.com/u/11826717/off/imgs/phpinfo.jpg
When I acess my php page, only after insert a login I get the code: https://dl.dropboxusercontent.com/u/11826717/off/imgs/phppage.jpg
That is the problem!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.