Apache/PHP httpd.conf location

Score
0
Vote Up
April 2, 2003 at 08:02:11 Pacific
Specs: OSX 10.2.4, 1Ghz / 512Mb

Can anyone please tell me where i will find the
httpd.conf file so that i can uncomment some lines
in the file (in order to enable php to work
properly). A book i have, in reference to installing/
configuring Apache, says "Mac OSX users
wishing to take advantage of PHP can do so by
making some very simple modifications to the
httpd.conf file usually found in /etc/httpd/." This is
all very well but where the hell is /etc/httpd/ and is
it refering to Apache or PHP? I've tried searching
for the file httpd.conf in OSX but to no avail. As
you can probably tell i'm a bit of a novice when it
comes to Apache so please help me.

Thanks in advance

Chris


Reply ↓  Report •


#1
Vote Down
Score
-1
Vote Up
paxcirca April 2, 2003 at 08:17:50 Pacific

http://developer.apple.com/internet/macosx/php.html

----paxcirc.a-


Reply ↓  Report •

#2
Vote Down
Score
2
Vote Up
Wycke April 2, 2003 at 13:04:42 Pacific

The easiest way to get to it is to open up Terminal (in Applications -> Utilities) and type "sudo pico /etc/httpd/httpd.conf". You'll then be prompted for your password. Enter it and the file will open in the pico text editor. I'm sure there's a way of opening it in SimpleText or another, easier-than-pico, text editor, but I'm not sure how you'd do that. Besides, pico takes me back to my free-wheelin' high school days...good times...

Anyhoo, pico is about the easiest command-line text editor to use...the vital commands are right at the bottom of the screen.

Good Luck!


Reply ↓  Report •

#3
Vote Down
Score
2
Vote Up
val April 6, 2003 at 20:16:08 Pacific

If you run apache server on your machine, then look for it in that directory
drive:\usr\local\apache\conf
or
drive:\apache\local\apache2\conf
or maybe you have your own directory then look for that file on your local drive.
All you have to do is to find a folder named "conf" because the file you need is in there.


Reply ↓  Report •

#4
Vote Down
Score
2
Vote Up
the pickle April 6, 2003 at 21:40:13 Pacific

Those directions don't work on OS X.

Mostly because there isn't any such folder.

p


Reply ↓  Report •

Reply to Message Icon Start New Discussion
Related Posts

« mac internet speeds :( How to open dmg on OS9 »

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.

Ask the Community!
Describe your Problem
Example: Hard Drive Not Detected on My PC