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:

<?php
phpinfo();
?>

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:

https://troubleshooting.co.za/hello.php

 

Leave a Reply

Your email address will not be published. Required fields are marked *