After a little adventure with Virtualbox, which automatically turned some files from 5.1.xx to 5.2.xx, it was time to see what happened to the localhost….

Part of the PHP code appeared and of course did not work, at least completely.

I first checked with the test.php file that did not return anything. Normally I should have seen the code, but nothing happened was showing up!!!!!!


<?php phpinfo(); ?>

Then I went into the following article and I restored the server.
Just run the following commands:

sudo a2enmod php7.1
sudo systemctl restart apache2

The link: