Hi I am trying to use php on Ubuntu 20.04.2 LTS, but im having issues trying to get basic php file to run properly(when i open http://192.168.1.142/info.php but all I see is the php code) I have php 8 running and apache2 is running.
this is the code
<?php
phpinfo();
?>
any help would be great I am trying to use google but not really getting anywhere.