Apache With PHP4 On Windows
Results 1 to 2 of 2

Thread: Apache With PHP4 On Windows

  1. #1
    Senior Member
    Join Date
    Oct 2001
    Posts
    677

    Apache With PHP4 On Windows

    I'm trying to add a PHP4 module (php4apache.dll) to my Apache installation on Windows.

    I have apache installed in c:\apache
    and PHP4 in c:\php

    However, when I add the lines to httpd.conf which LoadModule, AddModule for php4apache.dll and php4apache.c, then I put in the lines to map .php files to the PHP scripting engine (php.exe)...

    Something, somewhere, is going wrong, because when I open an internet explorer window directed at 10.0.0.1 (the IP of the machine with Apache on) and tell it to look for phpinfo.php, the contents of which are

    <?php
    phpinfo();
    ?>

    then that is exactly what is displayed on the web browser... It does not get processed by PHP, it just sends the entire text, as it is in the original file...

    Any ideas or suggestions anyone?
    One Ring to rule them all, One Ring to find them.
    One Ring to bring them all and in the darkness bind them.
    (The Lord Of The Rings)
    http://www.bytekill.net
    Share on Google+

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Posts
    677
    By the way, I also tried installing PHP4 into my apache installation on Linux Mandrake, but I didn't get very far!
    One Ring to rule them all, One Ring to find them.
    One Ring to bring them all and in the darkness bind them.
    (The Lord Of The Rings)
    http://www.bytekill.net
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •