Apache: If you use RPM package to install, 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 installation is used, it is generally installed in the /usr/local/apache2 directory by default. PHP: If using RPM package to install, the installation path should be in the /etc/ directory php configuration file: /etc/php.ini If installed from source code, it is generally installed in the /usr/local/lib directory by default php configuration file: /usr/local/lib/php.ini or /usr/local/php/etc/php.ini mysql: If using RPM package to install, the installation path should be in the /usr/share/mysql directory mysqldump file location: /usr/bin/mysqldump mysqli configuration file: /etc/my.cnf or /usr/share/mysql/my.cnf The mysql data directory is in the /var/lib/mysql directory If installed from source code, it is generally installed in the /usr/local/mysql directory by default.