The Apache HTTDP server is running smoothly (standalone) without PHP and with PHP as a CGI script and I'm the local Administrator.
The problem only appears when I try to run PHP as a module adding those 3 lines to the httpd.conf file right after the "LoadModule" session:
------------------------------------------------------------------------------
LoadModule php4_module "C:/Program Files/php-4.2.3-Win32/sapi/php4apache2.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php
------------------------------------------------------------------------------

Skully wrote:

okay there are 2 things to keep in mind with Windows:
- You must be local admin to run apache
- Cant use server=inetd! only standalone

You first must run the configtest to make sure your httpd.conf  file is
correct

----- Original Message -----
From: "Marcelo Juchem" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 2:22 AM
Subject: [PHP-INST] Problems installing PHP 4.2.3 with Apache HTTPD 2.0.43
in Windows 2000



Hi all,

   First of all, I know C:\> sucks and # rules, but it's not me who
decides which one to use.
   I installed PHP 4.2.3 (binary from www.php.net) right after
installing Apache HTTPD 2.0.43 (binary from httpd.apache.org) in Windows
2000. I have followed the instructions from <PHP_HOME>\install.txt and
haven't enabled any extension.
   The problem is, when I started the apache service (NET START
APACHE2), it failed with the following message:

   --------------------------------------------------
   The Apache2 service is starting.
   The Apache2 service could not be started.

   A service specific error occurred: 1.

   More help is available by typing NET HELPMSG 3547.
   --------------------------------------------------

   Then I tried to run it from the command line with both
(<APACHE2_HOME>\bin\Apache.exe) and (<APACHE2_HOME>\bin\Apache.exe -k
start) and it failed with the following message:


--------------------------------------------------------------------------

-------------------------------------------------------------------------

   apache: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c"
is not compatible with this version of Apache (found 20020628, need
20020903).
   Please contact the vendor for the correct version.

--------------------------------------------------------------------------

-------------------------------------------------------------------------

   Does anyone knows what the problem is? Maybe the Apache build
version used to build the PHP binaries is older than the release build
found at httpd.apache.org?

   Thanks anyway,

Marcelo Juchem, [EMAIL PROTECTED]


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to