All,
I have just started to learn PHP reading 'Beginning PHP4' and I am stuck on one thing. I am running Apache 1.3.20-16 on RH Linux 7.2.
There is a command to find where the location Apache stores its web site files. The command,
rpm -ql apache | grep /htdocs$
returns me to a command prompt, with no indication of where the files are stored. Using the command,
rpm -q apache
I know that Apache is installed on my system. Is there another command that I can type in to find the /htdocs folder, or are they stored somewhere else on my system? Or, is Apache not completely installed on my system?
Similarly, if I enter a command line entry to find the program 'apachectl',
rpm -ql apache | grep apachectl$
I also am not returned with a path to that program.
Using the command,
rpm -ql apache | grep /httpd.conf$
does return the path to where this file is stored.
Any help would be appreciated.
I have just started to learn PHP reading 'Beginning PHP4' and I am stuck on one thing. I am running Apache 1.3.20-16 on RH Linux 7.2.
There is a command to find where the location Apache stores its web site files. The command,
rpm -ql apache | grep /htdocs$
returns me to a command prompt, with no indication of where the files are stored. Using the command,
rpm -q apache
I know that Apache is installed on my system. Is there another command that I can type in to find the /htdocs folder, or are they stored somewhere else on my system? Or, is Apache not completely installed on my system?
Similarly, if I enter a command line entry to find the program 'apachectl',
rpm -ql apache | grep apachectl$
I also am not returned with a path to that program.
Using the command,
rpm -ql apache | grep /httpd.conf$
does return the path to where this file is stored.
Any help would be appreciated.