Posted on 2005-05-07
Last Modified: 2010-05-18

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 made some changes and everthing stopped need to start again!!!!!!!!

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

Question by:wood1e
    LVL 27

    Accepted Solution

    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

    Author Comment

    many thanks, saved those chages, and then type opened phpinfo.php in my browser and ther was php again...once again many got to try and see if I can get to send email again!!!!!!!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
    In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now