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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring Apache for new PHP version

Status
Not open for further replies.

chvol

Programmer
Oct 3, 2002
25
US
Hello all,

I am running PHP under Apache webserver on my Windows 98 PC. I need to install the latest version of PHP. I downloaded PHP 4.2.3 from but at the end it said, “The software to automatically configure the Apache httpd.conf file has not yet been written. You will have to configure Apache manually. See the install.txt file for more details.” I looked at install.txt but don’t know how to do what it says.

Charlie
chvol@aol.com
 
You don't know how to edit a textfile? Just open the httpd.conf in whatever texteditor you prefer and edit the directives in there. //Daniel
 
> You don't know how to edit a textfile? Just open the httpd.conf in whatever texteditor you prefer and edit the directives in there.

Hey,

Oh, come on now! You know it's more than that. If a user said they didn't know how to use a particular software package, would you tell them, "You don't know how to type?"?

Charlie
 
Just open httpd.conf and put these lines in there (if they aren't there already)
Code:
LoadModule php4_module    modules/libphp4.so
#Uncomment this if you have Apache 1.3.x
#AddModule mod_php4.c
AddType application/x-httpd-php .php
//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top