Re: Problem with Apache 1.3.28 / PHP 4.3.3

From: Date: Fri, 14 Nov 2003 09:35:46 +0000
Subject: Re: Problem with Apache 1.3.28 / PHP 4.3.3
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169626@lists.php.net to get a copy of this message
orlandopozo@icnet.com.ve 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 <k24d88@home.nl> To: orlandopozo@icnet.com.ve CC: php-general@lists.php.net References: <002f01c3a3c9$499a7880$9d754bc8@ojpp> 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 -- orlandopozo@icnet.com.ve 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

« previous php.general (#169626) next »