When you struggling to find out whats breaking PHP the following tip should help you.
Create the a file called hello.php and add the following:
You can use the following command to create the file:
$ sudo vim hello.php
Once created, you can access the php information by adding hello.php after the domain name as shown by the example below: