Computing.Net > Forums > Mac > Apache/PHP httpd.conf location

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Apache/PHP httpd.conf location

Reply to Message Icon

Name: Chris
Date: April 2, 2003 at 08:02:11 Pacific
OS: OSX 10.2.4
CPU/Ram: 1Ghz / 512Mb
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: paxcirca
Date: April 2, 2003 at 08:17:50 Pacific
Reply:

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

----paxcirc.a-


0

Response Number 2
Name: Wycke
Date: April 2, 2003 at 13:04:42 Pacific
Reply:

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!


0

Response Number 3
Name: val
Date: April 6, 2003 at 20:16:08 Pacific
Reply:

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.


0

Response Number 4
Name: the pickle
Date: April 6, 2003 at 21:40:13 Pacific
Reply:

Those directions don't work on OS X.

Mostly because there isn't any such folder.

p


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Mac Forum Home


Sponsored links

Ads by Google


Results for: Apache/PHP httpd.conf location

Apache 1.3.23 & mod_ssl 2.8.9 locking up www.computing.net/answers/mac/apache-1323-amp-modssl-289-locking-up/4905.html

ASP on Apache Web Server on OSX www.computing.net/answers/mac/asp-on-apache-web-server-on-osx/7633.html

Apache and Dreamweaver Problems www.computing.net/answers/mac/apache-and-dreamweaver-problems/6021.html