Re: Apache 2.0.39 + PHP 4.3.0-dev won't run since PHP 4.3.0-Alpha 2?

From: Date: Tue, 06 Aug 2002 07:11:02 +0000
Subject: Re: Apache 2.0.39 + PHP 4.3.0-dev won't run since PHP 4.3.0-Alpha 2?
References: 1 2 3 4  Groups: php.install 
Request: Send a blank email to php-install+get-8018@lists.php.net to get a copy of this message
I was trying to install PHP4.3 with Zend 2 engine over Apache 2.0.39 and when i run make it failed. The installation was successfull when i made the following changes. ./configure --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr/local/new php compiled and installed apache in /usr/local/apache2 Thanks. Here is the patch to fix the problem --- sapi/apache2filter/sapi_apache2.c Fri Jun 28 14:45:10 2002 +++ ../../php-4.3.0-dev-zend2-alpha2/sapi/apache2filter/sapi_apache2.c Mon Aug 5 13:24:08 2002 @@ -564,8 +564,8 @@ ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE); 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_MIDDLE); - ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOURCE); - ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURCE); + ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE); + ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE); } AP_MODULE_DECLARE_DATA module php4_module = { "Christian Stadler" <stadli@gmx.de> wrote in message news:20020714024408.64684.qmail@pb1.pair.com... > Your Problem is a known Problem. Apache 2.0.39 won't run with PHP 4.2.1. The > solution is, or better, was to download the newest Snapshot of PHP: See > here: http://bugs.php.net/report.php > But now it doesn't work anymore. > > Gee, I've got the bad feeling, that the newest versions of PHP 4.3.0-dev > will run with Apache 2.0.40-dev, but not with Apache 2.0.39 ... Seems, the > only thing we could do is to wait, until at least Apache 2.0.40 is released. > > Yours, > > Christian Stadler > > "Wayne Smith" <wayne.smith@csun.edu> schrieb im Newsbeitrag > news:3D307B26.87F0C4BB@csun.edu... > > Hi, > > > > I too am having a similar problem. PHP v4.2.1 as a module over Apache > > 1.3.26 > > over Windows XP runs just fine. The same PHP over Apache 2.0.39 over > > the same OS/same box fails to start. The error > > message that Apache generates in the Event Viewer > > is "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not > > compatible with this version of Apache. > > > > I'm pretty sure that the Windows binaries will need > > to be rebuilt and reposted. > > > > Wayne > > > > > > Christian Stadler wrote: > > > > > Hi, > > > > > > Sorry, I've forgot to say, that I'm running PHP as an Apache-Module. > > > > > > Yours, > > > > > > Christian Stadler > > > > begin 666 php4.3zend2-apache2.patch M+2TM('-A<&DO87!A8VAE,F9I;'1E<B]S87!I7V%P86-H93(N8PE&<FD@2G5N M(#(X(#$T.C0U.C$P(#(P,#(**RLK("XN+RXN+W!H<"TT+C,N,"UD978M>F5N M9#(M86QP:&$R+W-A<&DO87!A8VAE,F9I;'1E<B]S87!I7V%P86-H93(N8PE- M;VX@075G(" U(#$S.C(T.C X(#(P,#(*0$ @+34V-"PX("LU-C0L."! 0 H@ M"6%P7VAO;VM?<&]S=%]C;VYF:6<H<&AP7V%P86-H95]S97)V97)?<W1A<G1U M<"P@3E5,3"P@3E5,3"P@05!27TA/3TM?34E$1$Q%*3L*( EA<%]H;V]K7VEN M<V5R=%]F:6QT97(H<&AP7VEN<V5R=%]F:6QT97(L($Y53$PL($Y53$PL($%0 M4E](3T]+7TU)1$1,12D["B )87!?:&]O:U]P;W-T7W)E861?<F5Q=65S="AP M:'!?<&]S=%]R96%D7W)E<75E<W0L($Y53$PL($Y53$PL($%04E](3T]+7TU) M1$1,12D["BT)87!?<F5G:7-T97)?;W5T<'5T7V9I;'1E<B@B4$A0(BP@<&AP M7V]U='!U=%]F:6QT97(L($Y53$PL($%07T9465!%7U)%4T]54D-%*3L*+0EA M<%]R96=I<W1E<E]I;G!U=%]F:6QT97(H(E!(4"(L('!H<%]I;G!U=%]F:6QT M97(L($Y53$PL($%07T9465!%7U)%4T]54D-%*3L**PEA<%]R96=I<W1E<E]O M=71P=71?9FEL=&5R*")02% B+"!P:'!?;W5T<'5T7V9I;'1E<BP@05!?1E19 M4$5?4D533U520T4I.PHK"6%P7W)E9VES=&5R7VEN<'5T7V9I;'1E<B@B4$A0 M(BP@<&AP7VEN<'5T7V9I;'1E<BP@05!?1E194$5?4D533U520T4I.PH@?0H@ M"B!!4%]-3T153$5?1$5#3$%215]$051!(&UO9'5L92!P:' T7VUO9'5L92 ] #('L* ` end

« previous php.install (#8018) next »