Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where is Httpd.conf? 1

Status
Not open for further replies.

leegold2

Technical User
Oct 10, 2004
116
In a tutorial I'm following I have the instructions below, but I do not see any file named: "Httpd.conf". Using Apache2 for Win32. All I see in the conf folder is:

httpd
httpd.default
magic
magic.default
mime.types
mime.types.default


Below are the instructions I'm supposed to follow, What should I do? (Thanks)

"....
Open the file httpd.conf in notepad. Httpd.conf can be found in: C:\Program Files\Apache Group\Apache2\conf\; add the following lines to the end of the file:

LoadModule php4_module php4apache2.dll
AddType application/x-httpd-php .php
....
 
leegold2,

Most likely, that httpd.default is the file you're after. Copy it, rename the copy to httpd.conf, and then open it in Notepad. The comments at the top of the file should validate this.

Before adding the lines referencing php4, search the httpd.conf file to see if they already exist.

Wishdiak
 
The simplest way is to do a search on your local drive for httpd.conf. If file not find copy httpd.default to httpd.conf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top