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
http://developer.apple.com/internet/macosx/php.html ----paxcirc.a-
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!
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.
Those directions don't work on OS X. Mostly because there isn't any such folder.
p
| « mac internet speeds :( | How to open dmg on OS9 » |