Linux ApachePHPMysql default installation path

  
        

Apache If you are installing with RPM package, 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 you use source code installation, it is usually installed by default in /usr/local/apache2 directory

PHP If you use RPM package installation, the installation path should be in /etc/directory php Configuration file: /etc/php.ini

If the source code is installed, it is usually 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 you use 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 directory: /var/lib/mysql directory

If the source code is installed, it is usually installed by default in /usr/local/Under the mysql directory

Copyright © Windows knowledge All Rights Reserved