Apache
If using RPM package installation, the installation path should be in the/ETC/HTTPD directory
Apache configuration file:/etc/httpd/conf/httpd.conf
Apache Module Path:/usr/sbin/apachectl
Web directory:/var/www/html
If the source code is installed, it is usually installed in the/usr/local/apache2 directory by default.
Php
If using RPM package installation, the installation path should be in the/etc/directory
PHP configuration file:/etc/php.ini
If the source code is installed, it is usually installed in the/usr/local/lib directory by default.
PHP config file:/usr/local/lib/php.ini or/usr/local/php/etc/php.ini
Mysql
If using RPM package installation, the installation path should be in the/usr/share/mysql directory
Mysqldump File Location:/usr/bin/mysqldump
MySQL configuration file:/etc/my.cnf or/USR/SHARE/MYSQL/MY.CNF
MySQL Data Catalog:/var/lib/mysql directory
If the source code is installed, it is usually installed in the/usr/local/mysql directory by default.
Linux next Apache PHP mysql default installation path