At this point, we need to test our website with PHP. This can be done by writing a simple PHP script page. If PHP is installed correctly, it will return information about its environment and configuration.
cd /var/www/html
phpinfo.php
.We use the word nano
so that we can get into the file of the system with the privileges and execute the following command:
sudo nano phpinfo.php
http://192.168.1.105/phpinfo.php
, and you should see the following screen:3.147.28.93