Data: | category: Linux, PHP & MySQL | hits: 2,440
Views | tags: Apache, centos, Linux, MySQL, PHP, default installation path
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.