Apache
Assume that the RPM package is installed. The installation path should be under the/ETC/HTTPD folder
Apache configuration file:/etc/httpd/conf/httpd.conf
Apache Module Path:/usr/sbin/apachectl
Web folder:/var/www/html
Assuming the use of source code installation, usually installed by default in the/usr/local/apache2 folder
Php
Assuming the RPM package is installed, the installation path should be in the/etc/folder
PHP configuration file:/etc/php.ini
Assuming the use of source code installation, usually installed by default in the/usr/local/lib folder
PHP config file:/usr/local/lib/php.ini or/usr/local/php/etc/php.ini
Mysql
Assuming the RPM package is installed, the installation path should be in the/usr/share/mysql folder
Mysqldump File Location:/usr/bin/mysqldump
MySQL configuration file:/etc/my.cnf or/USR/SHARE/MYSQL/MY.CNF
MySQL Data folder: Under the/var/lib/mysql folder
Suppose to use source code installation. Typically installed by default under the/usr/local/mysql folder
Linux next Apache PHP mysql default installation path