Open rakesh741 opened 4 years ago
I suppose you have not created a PHP file in the directory(/var/www/html) Please follow these steps sudo nano /var/www/html/info.php
Inside the file, type in the valid PHP code:
<?php phpinfo (); ?>
By now you will access the default php page in the browser using your host machine URL/info.php
For further info Refer here (https://phoenixnap.com/kb/how-to-install-lamp-stack-on-ubuntu)