Apache:
If the RPM package is used for 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 source code is used for installation, it is usually installed in the/usr/local/apache2 directory by default.
Php:
If the RPM package is used for installation, the installation path should be in the/etc/directory.
Php configuration file:/etc/php. ini
If source code is used for installation, it is usually 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 the RPM package is used for installation, 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 source code is used for installation, it is usually installed in the/usr/local/mysql directory by default.