- Forums
- Linux
- Find Where Apache Is Installed Shell
We Will Show You How You Can Find Out The Location Of Your Apache Httpd Web Server Is Installed With And Without Shell Access [3245], Last Updated: Mon Jun 24, 2024
Webune
Sun Oct 11, 2009
0 Comments
406 Visits
hi, welcome to webune support forums. and often asked question from our customer who have dedicated servers is how they can find out the path of their httpd server.
today we will teach you how you can find out where is your apach is installed using your ssh shell connection through the console terminal.
first login to your server using SSH
then send this command
ps -aux | grep httpd
an alternative if you dont have access to the shell, is to run a phpinfo() file and look under Apache Environment, there you will see PATH
it will most like say: /sbin:/usr/sbin:/bin:/usr/bin
depending on your installation