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.
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