note 46266 added to install.windows.apache2
| From: | Neo | Date: | Tue, 05 Oct 2004 07:48:42 +0000 |
| Subject: | note 46266 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78010@lists.php.net to get a copy of this message | ||
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 ;)
----
Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46266
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46266&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46266&report=yes
Search -- http://master.php.net/manage/user-notes.php