Subject: Re: ap2-php4 creates a buggy
To: None <>
From: Ewald =?iso-8859-1?Q?B=F6rger?= <>
List: tech-pkg
Date: 09/09/2003 01:06:32
New description:
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/ into server: 
/usr/pkg/lib/httpd/ Undefined PLT symbol "tempnam" (reloc type 
= 7, symnum = 2121)

Installing the binary ap2-php 4.2.3 fixes this problem, but ignores the 
pcre settings.
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 
databases/php-mysql pkgsrc)