note 17068 added to install.apache
| From: | industrialREMOVE at home dot REMOVE dot se | Date: | Sat, 24 Nov 2001 10:34:50 +0000 |
| Subject: | note 17068 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21232@lists.php.net to get a copy of this message | ||
Windows XP (Windows NT 5.1 build 2600)
Apache/1.3.22 (Win32) PHP/4.0.6
Took me hours of reading, since I got a
"[error] Cannot remove module mod_php4.c: not found in module list"
in the Apache error log. I tried the official suggestion of "AddModule mod_php4.c" in the
'after-"ClearModuleList"-list' in httpd.conf. This would not work.
Instead I found a hint above and added the following three lines right AFTER the
'after-"ClearModuleList"-list'
LoadModule php4_module <PATH TO PHP4>/php4/sapi/php4apache.dll
AddType application/x-httpd-php .php
AddModule mod_php4.c
And finally the test script works.
<?php phpinfo();?>
/Jorgen Hedlund
--
http://www.php.net/manual/en/install.apache.php
http://master.php.net/manage/user-notes.php?action=edit+17068
http://master.php.net/manage/user-notes.php?action=delete+17068
http://master.php.net/manage/user-notes.php?action=reject+17068