You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kyoichi Ozaki <k...@bancho.jp> on 2002/08/10 14:22:40 UTC
Re: 2.0.40 and Solaris 9 - module "sapi_apache2.c" not
compatible...
hi,
you have to recompile PHP again.
i don't know about 4.2.3-dev, but for 4.2.2, i had to
apply a patch to php-4.2.2/sapi/apache2filter/sapi_apache2.c
something like this,
--- php-4.2.2/sapi/apache2filter/sapi_apache2.c.orig 2002-08-10 19:49:46.0000
00000 +0900
+++ php-4.2.2/sapi/apache2filter/sapi_apache2.c 2002-08-10 19:50:14.000000000 +0
900
@@ -531,8 +531,8 @@
ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDD
LE);
ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE);
ap_hook_post_read_request(php_post_read_request, NULL, NULL, APR_HOOK_MIDDL
E);
- ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE);
- ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE);
+ ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOU
RCE);
+ ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURC
E);
}
AP_MODULE_DECLARE_DATA module php4_module = {
From: Phydeaux <re...@taco.com>
Subject: 2.0.40 and Solaris 9 - module "sapi_apache2.c" not compatible...
Date: Sat, 10 Aug 2002 08:18:26 -0400
> Hi!
>
> I'm trying to install 2.0.40 and I get this when attempting to start the server after
> what appears to be a successful configuration, compilation and install:
>
> httpd: module "sapi_apache2.c" is not compatible with this version of Apache.
> Please contact the vendor for the correct version.
>
> I used the same configure command for this version as I did for 2.0.39. I am running
> with shared libraries and I have PHP 4.2.3-dev installed. The command line used
> for configuration is:
>
> ./configure --prefix=/www/apache --with-mpm=prefork --enable-mods-shared=all \
> --enable-ssl --with-ssl=/usr/local/ssl --disable-rewrite --disable-auth-anon \
> --disable-auth-digest --enable-so
>
> When compiled, 2.0.40 shows this from apachectl -V
>
> Server version: Apache/2.0.40
> Server built: Aug 10 2002 06:54:13
> Server's Module Magic Number: 20020628:0
> Architecture: 32-bit
> Server compiled with....
> -D APACHE_MPM_DIR="server/mpm/prefork"
> -D APR_HAS_SENDFILE
> -D APR_HAS_MMAP
> -D APR_HAVE_IPV6
> -D APR_USE_PROC_PTHREAD_SERIALIZE
> -D APR_USE_PTHREAD_SERIALIZE
> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> -D APR_HAS_OTHER_CHILD
> -D AP_HAVE_RELIABLE_PIPED_LOGS
> -D HTTPD_ROOT="/www/apache"
> -D SUEXEC_BIN="/www/apache/bin/suexec"
> -D DEFAULT_PIDLOG="logs/httpd.pid"
> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
> -D DEFAULT_LOCKFILE="logs/accept.lock"
> -D DEFAULT_ERRORLOG="logs/error_log"
> -D AP_TYPES_CONFIG_FILE="conf/mime.types"
> -D SERVER_CONFIG_FILE="conf/httpd.conf"
>
> Does anyone have a clue what is wrong?
>
> reb
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---
Kyoichi Ozaki <k...@bancho.jp> Network Engineer.
BANCHO Co.,Ltd. http://bancho.jp/
5-46-12-603 HigashiIkebukuro,Toshimaku,Tokyo. 170-0013
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Are Defunct/Zombie processes normal?
Posted by Kyle <ky...@ptszone.com>.
Hi guys,
I've been noticing that Apache is getting a couple defunct/Zombie
processes every few minutes. The server is using EAPI, MM, mod_php,
mod_ssl, and a few other small patches. Versions are as follows
Apache/1.3.26, PHP/4.2.2, mod_ssl/2.8.10, OpenSSL/0.9.6e. The server
gets about 5 hits a second, and is only causing about a 3.5% load on the
CPU.
Is this normal? I can provide more information if this isn't normal.
Thanks.
- Kyle
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: 2.0.40 and Solaris 9 - module "sapi_apache2.c" not
compatible...
Posted by Phydeaux <re...@taco.com>.
At 09:22 PM 8/10/2002 +0900, Kyoichi Ozaki wrote:
>you have to recompile PHP again.
>i don't know about 4.2.3-dev, but for 4.2.2, i had to
>apply a patch to php-4.2.2/sapi/apache2filter/sapi_apache2.c
Aha!
I commented out the LoadModule line for php and the server started.
I'll see about rebuilding php. I think there are differences between the
sapi_apache2.c you have and what I have but at least I now know
where to look and what's breaking.
Thanks!
reb
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org