Apache:
With Apt-get online installation, the installation path should be in the/etc/apache2 directory
Apache configuration file/etc/apache2/apache2.conf
Apache Module Path:/usr/sbin/apachectl
Boot Path apache:/etc/init.d/apache2 Restart | Stop | Start
Site Directory:/var/www/html
(typically installed by default in the/usr/local/apache2 directory if you are using source code)
Php:
If Apt-get is installed online, the installation path should be in the/etc/directory
PHP configuration file:/etc/php5/apache2/php.ini
(If the source code is installed, it is usually installed by default in the/usr/local/lib directory, PHP configuration file:/usr/local/lib/php.ini, or/usr/local/php/etc/php.ini)
Mysql:
If Apt-get is installed online, the installation path should be in the/usr/share/mysql directory
Mysqldump File Location:/usr/bin/mysqldump
MySQL configuration file:/etc/mysql/my.cnf
MySQL Data directory in:/var/lib/mysql directory
MySQL log file in:/var/log/mysql
(typically installed by default in the/usr/local/mysql directory if you are using source code)
phpMyAdmin
If the Apt-get is installed online, the installation path should be in the/usr/share/phpmyadmin directory,
Ubuntu Next apt-get install Apache2, PHP, mysql default path after