Subject: Re: ap2-php4 creates a buggy mod_php4.so?
To: None <tech-pkg@NetBSD.org>
From: Ewald =?iso-8859-1?Q?B=F6rger?= <email@example.com>
Date: 09/09/2003 01:06:32
Apache 2.0.47 + PHP 4.3.3 + ap2-php 4.3.3 all from pkgsrc gives:
# 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:
/usr/pkg/lib/httpd/mod_php4.so: Undefined PLT symbol "tempnam" (reloc type
= 7, symnum = 2121)
Installing the binary ap2-php 4.2.3 fixes this problem, but ignores the
Also: I can't go round ap2 with the 'compile php4 with the help of apxs'
method... when building PHP, apxs complains about my apache not having the
mod_so installed. When I do a 'httpd -l' I see 'mod_so.c' though!
So, anyway I'm stuck... couldn't find a package that would simply add PCRE
support to my PHP.
(I did get MySQL to work, thanks to Niilo Kajander pointing me to the