From Virtual-Weltanschauung-PmWiki

Main: Apache

Installing as an Apache module

   You need to insert these two lines to your Apache httpd.conf
   configuration file to set up the PHP module for Apache 2.0:

   Example 2-6. PHP and Apache 2.0 as Module
  1. For PHP 4 do something like this:

LoadModule php4_module "c:/php/php4apache2.dll" AddType application/x-httpd-php .php

  1. For PHP 5 do something like this:

LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php

  1. configure the path to php.ini

PHPIniDir "C:/php"

     Note: Remember to substitute the c:/php/ for your actual path to
     PHP in the above examples. Take care to use either php4apache2.dll
     or php5apache2.dll in your LoadModule directive and not
     php4apache.dll or php5apache.dll as the latter ones are designed to
     run with Apache 1.3.x.
Retrieved from http://www.virtual-weltanschauung.com/pmwiki/pmwiki.php?n=Main.Apache
Page last modified on March 05, 2007, at 03:12 AM