To further check LAMP stack installation, the following can be made to know the exact installed version of each application.
apache2 -v on the command line.
$ apache2 -v
Apache 2.4.7 was installed
php -v on the command line.
$ php -v
PHP 5.5.9 was installed
mysql -uroot -p on the command line.
$ mysql -uroot -p
You will be ask to enter the ROOT PASSWORD.
Just enter the ROOT PASSWORD.
MySql 5.5.44 was installed