If apache is installed using RPM package, its 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 apache is installed using source code, it is generally installed in the /usr/local/apache2 directory by default.
Recommended tutorial: linux tutorial
The above is the detailed content of Where is the installation path of apache in linux?. For more information, please follow other related articles on the PHP Chinese website!