note 46266 deleted from install.windows.apache2 by nlopess
| From: | nlopess@php.net | Date: | Tue, 05 Oct 2004 10:40:04 +0000 |
| Subject: | note 46266 deleted from install.windows.apache2 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78015@lists.php.net to get a copy of this message | ||
Note Submitter: Neo <neo at darkxproz dot net>
----
The configuration might resemble:
# For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
--------
AddType application/x-httpd-php .php .php3 .php4 .inc
AddType application/x-httpd-php-source .phps
# configure the path to php.ini
PHPIniDir "C:/php"
But, Please make sure that your php4ts.dll (for php 4.x.x) or php5ts.dll (for php 5.x.x) is copied
under your system directory. (I copied my php4apache2.dll to 'C:\WinNT\system32' dir)
Otherwise, You might get an error 'Could not LoadModule "c:/php/sapi/php4apache2.dll"
' eventhough the path to php4apache2.dll (or php5apache2.dll) is correct. This may be due to
failure of php4apache2.dll to load the php4ts.dll (I figured it myself late)
Hope This Helps some desperate people ;)