Subject: Re: ap2-php4 creates a buggy mod_php4.so?
To: =?ISO-8859-2?Q?Ewald_B=F6rger?= <ewald@hetnetniet.nl>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: tech-pkg
Date: 09/12/2003 22:50:15
I'll look at what's wrong with Apache2 build, hopefully this
weekend.

Jaromir

Ewald B=F6rger wrote:
> New description:
> Apache 2.0.47 + PHP 4.3.3 + ap2-php 4.3.3 all from pkgsrc gives:
>=20
> # apachectl -t
> Syntax error on line 234 of /usr/pkg/etc/httpd/httpd.conf:
> Cannot load /usr/pkg/lib/httpd/mod_php4.so into server:=20
> /usr/pkg/lib/httpd/mod_php4.so: Undefined PLT symbol "tempnam" (reloc typ=
e=20
> =3D 7, symnum =3D 2121)
>=20
> Installing the binary ap2-php 4.2.3 fixes this problem, but ignores the=
=20
> pcre settings.
> Also: I can't go round ap2 with the 'compile php4 with the help of apxs'=
=20
> method... when building PHP, apxs complains about my apache not having th=
e=20
> mod_so installed. When I do a 'httpd -l' I see 'mod_so.c' though!
>=20
> So, anyway I'm stuck... couldn't find a package that would simply add PCR=
E=20
> support to my PHP.
>=20
> (I did get MySQL to work, thanks to Niilo Kajander pointing me to the=20
> databases/php-mysql pkgsrc)
>=20
> Ewald
>=20

--=20
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=3D- We should be mindful of the potential goal, but as the tantric    -=
=3D-
-=3D- Buddhist masters say, ``You may notice during meditation that you -=
=3D-
-=3D- sometimes levitate or glow.   Do not let this distract you.''     -=
=3D-