?
Solved

httpd.conf

Posted on 2005-05-07
2
Medium Priority
?
600 Views
Last Modified: 2010-05-18
Hi,

I have just installed apache2 for the umpteenth time...and I am trying to configure it for php...I am on a  windows2k pro machine, And the php4ts.dll file is in the php folder C:/php and the httpd.conf file is in C:/program files/apache group/apache2/conf

Can anyobne please explain what I have to type into that file to get php to work with apache....I have looked read and wrtitten on the apache/php and other websites...

Some are obviously out of date, and most I would say presume that one knows some thing...not good....

I am at my wits end...

This all came about becasue I had it all installed but couldn;t get an email form to work...so made some changes and everthing stopped working...now need to start again!!!!!!!!

Anyway enough frustration...by the way I would like to use php4...and have obviously already downloaded it and installed!!

0
Comment
Question by:wood1e
2 Comments
 
LVL 27

Accepted Solution

by:
caterham_www earned 2000 total points
ID: 13951384
add this below the LoadModule section in httpd.conf, may be modify the path to your files:

LoadFile "C:/program files/apache group/apache2/bin/php4ts.dll"
LoadModule php4_module "C:/program files/apache group/apache2/bin/php4apache2.dll"
AddType application/x-httpd-php .php .php4 .php3 .phtml
0
 

Author Comment

by:wood1e
ID: 13951627
Hi
many thanks, saved those chages, and then type opened phpinfo.php in my browser and ther was php again...once again many thanks...now got to try and see if I can get to send email again!!!!!!!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month16 days, 17 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question