[EMAIL PROTECTED] wrote:
I had problem in the configuration of Apache 1.3.28 and PHP 4.3.3 as SAPI module, they are run well as CGI module, I put this lines for it:
ScriptAlias /php/ "D:/PHP4.3.3/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe"
as SAPI module, I put this lines:
LoadModule php4_module D:\PHP4.3.3\sapi\php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php
A friend told me that remove the line "AddModule mod_php4.c", I got this error:
d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK Cannot remove module mod_php4.c: not found in module list
If I leave the line "AddModule mod_php4.c", I get this error:
Module mod_php4.c is already added, skipping d:/program files/apache1.3.28/apache/conf/httpd.conf: Syntax OK Cannot remove module mod_php4.c: not found in module list
thanks for any help. bye.
I answered your question few days ago but didn't hear any reaction, so I'm reposting the same text with hope this time it will be more useful
Cheers,
Boyan --
-------- Original Message -------- Subject: Re: [PHP] Apache1.3.28 vs PHP4.3.3 Date: Thu, 06 Nov 2003 00:59:58 +0100 From: Boyan Nedkov <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]>
For getting up and running php on WinXX box you need only:
LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll AddType application/x-httpd-php .php
To avoid the problem with removing 'mod_php4.c' try to find 'ClearModuleList' directive in httpd.conf and comment it, then restart the server once again
Hope this help,
boyan --
[EMAIL PROTECTED] wrote:
> Apache 1.3.28 / PHP 4.3.3 > > hello, I tried to configure php as module SAPI of the apache web server, I > put this line: > > LoadModule php4_module D:/PHP4.3.3/sapi/php4apache.dll > AddModule mod_php4.c > AddType application/x-httpd-php .php > > When I tested the configuration, I got this error: > > Cannot remove module mod_php4.c: not found module list > > I removed the "AddModule mod_php4.c" directive, restart the server, but > remain the same problem > > Thanks for any help, I will really aprecciate your support, bye. >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php