Default installation paths for Apache, php, and mysql under Ubuntu

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






 
 






Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326266756&siteId=291194637