On Tuesdayen den 21 May 2002 20.04, Alexander Feigl wrote:
> Am Dienstag, 21. Mai 2002 17:52 schrieb Oden Eriksson:
> > Thanks Alexander!
> >
> > I have allready packed all the php 4.2.1 stuff but forgot to announce
> > it... Which patch are you referring to?
>
> I was referring to the patch which fixed php for recent apache. But it is
> included in 4.2.1.
Aha, didn't notice that. Thanks for notifying me!.
(I wish Mandrake corp would employ me so I could spend more time on this...,
HINT, HINT, HINT)
> > And, no... I didn't get the mod_php module to compile against apache2
> > just yet.
> >
> > I will announce my work on this in another mail to the list.
> >
> > BTW. I'm the (initial) maintainer of the apache2 rpm packages, so if you
> > have some valuble feedback about this we all will jump for joy!
>
> Here it comes:
>
> First I changed php.spec. Manually linking libpthread is not needed any
> more and breaks the build process because it is added by configure
> automatically. The option --enable-experimential-zts seems to be needed for
> apache2 module. I hope it won't make php unstable - it is activated
> automatically if you compille the apache2 module with a configure option.
> If this option is enabled, libtsrm is included in libphp_common and you
> won't have to install it explicitly
Aha! I realize you have fiddled with this some. I will change the php package
according to this new info and see if it solves the apache2 stuff, and if it
breaks apache1 is irrelevant at this time.
> --- /home/moondream/cvs/mdk/SPECS/php/php.spec 2002-05-20
> 23:52:05.000000000 +0200
> +++ php.spec 2002-05-21 19:55:41.000000000 +0200
> @@ -143,7 +140,7 @@
> #For eventual compatibility with RedHat
> #%{!?nokerberos:krb5libs="-L%{_prefix}/kerberos/lib -lgssapi_krb5 -lkrb5
> -lk5crypto -lcom_err"}
>
> -LIBS="$LIBS -lpthread $krb5libs"
> +LIBS="$LIBS $krb5libs"
> export LIBS
>
> EXTENSION_DIR="/usr/lib/php/extensions"
> @@ -188,6 +185,7 @@
> --with-openssl=%{_prefix} \
> --without-aspell \
> --without-kerberos \
> + --enable-experimental-zts \
> `for i in %{external_modules}; do echo --without-${i} --disable-${i};
> done`
>
> ### This configuration makes a dependency on those libs:
>
>
>
>
> /usr/src/php-devel/buildext libphp4 "-lapr -lphp_common" \
> "sapi_apache2.c php_functions.c apache_config.c" "-I/usr/include/apache2"
>
> should build the module. I didn't test it but tested it with a changed
> include/lib path which was referring to my self-compiled apache2
Great thanks Alexander for all this intel!, I/we appreciate your efforts a
great deal. Thanks a bunch!
I will try to continue this apache2 adventure tomorrow.
--
Regards // Oden Eriksson