Re: Cannot Install PHP4 on apache2 for windows

From: Date: Mon, 06 May 2002 14:42:33 +0000
Subject: Re: Cannot Install PHP4 on apache2 for windows
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-6873@lists.php.net to get a copy of this message
You need to use the Apache filter from the php/experimental directory rather than the php4apache.dll. It's apache2filter.dll. Can't use the php4apache.dll Place this filter in your php/sapi directory and point LoadModule to it. Your apache httpd.conf should have this, then: LoadModule php4_module "C:/program files/php/sapi/apache2filter.dll" AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps Works for me with WinNT 4.0SP6a, PHP 4.2.0 and Apache 2.0.35 "Riddler" <the_riddlr@hotmail.com> wrote in message news:OE23YXFrwiZ9rWjAKYV00004d3d@hotmail.com... here are my settings: httpd.conf: ======================= LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php php.ini (located in c:\windows): ======================== doc_root=c:\progra~1\apache~1\apache2\htdocs extension_dir=c:\php\extensions The Error: ========================= Syntax error on line 180 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/php/sapi/php4apache.dll into server: One of the library files needed to run this application cannot be found. The Platform/Apps: ========================= Windows 98se 768mb ram 1.2ghz athlon Apache 2.0.35 MySql 3.23.49 and PHP 4 Can anyone Help? -The Riddler

« previous php.install (#6873) next »