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
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.
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.
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
Summary: I have a Power Mac G4 running Mac OS X 10.1.5 only, on one partition only, with Apache and ssl loading on startup. ssl is password protected, of course, and when the Mac boots now it is asking fo...
Summary: 1) not natively, but i think there is an apache module out there for it. go to apache.org and search their modules pages. 2) AFAIK, there isn't anything better than apache for OS X. but consider porti...
Summary: I am using the apache http server that comes with MOS X and I have installed mysql database too. The problem is when I create a connection to a database in Dreamweaver MX it says 'error 405 method not...