Original link: http://blog.csdn.net/pengone/article/details/50035889
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 using the source code installation, the general default is installed in the/usr/local/apache2 directory PHP: If the installation of RPM package, the installation path should be in the/etc/directory PHP configuration file:/etc/php.ini If the source code installation, Typically 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 the RPM package is installed, 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 mysql data directory in/var/lib /mysql directory if the source code installation, the general default installation in the/usr/local/mysql directory
"Reprint" Linux View apache,mysql,php installation path