Once LAMP stack in installed and configured write a small PHP web page that calls phpinfo(); function and place it in /var/www/html folder and call it in browser http://localhost/index.php to verify the version and other details of PHP framework installed.