tech-pkg: Re: Apache 2 and PHP4 modules

Subject: Re: Apache 2 and PHP4 modules
To: Reinier Jonker <rjgjonker@xs4all.nl>
From: Quentin Garnier <netbsd@quatriemek.com>
List: tech-pkg
Date: 11/06/2002 23:54:12
Le Wed, 6 Nov 2002 22:00:30 +0100
Reinier Jonker a 馗rit :
> On dinsdag, november 5, 2002, at 08:37 AM, Martti Kuparinen wrote:
> 
> > On Mon, 4 Nov 2002, Martti Kuparinen wrote:
> >
> >>> I tried this (--enable-experimental-zts) on 1.3.27 and 2.0.43 and 
> >>> they
> >>> both worked. Does anybody know what side effects 
> >>> --enable-experimental-zts
> >>
> >> Here's a new patch to try. Please let me know if this is ok to 
> >> commit...
> >
> > I tested this with my production server running squirrelmail and
> > apache 1.3.27 and things work fine. Please submit a PR with send-pr
> > if you experience any problems with PHP4 now (apache 1.3.x or 2.0.x).
> 
> ap2-php4 still doesn't work for me. I've just rebuilt php, all modules 
> I've got installed and ap2-php4, however, I still get the following 
I'm pretty sure something must have been not rebuilt.
FWIW, I've seen no problem here.
> error upon trying to use a PHP page (from Apache's error_log):
[...]
> PHP Warning: Unable to load dynamic library 
> '/usr/pkg/lib/php/20020429/mysql.so' - 
> /usr/pkg/lib/php/20020429/mysql.so: Undefined symbol "core_globals" 
> (symnum = 143) in Unknown on line 0
> PHP Warning: mcrypt: Unable to initialize module
> Module compiled with module API=20020429, debug=0, thread-safety=0
 ^^
> PHP compiled with module API=20020429, debug=0, thread-safety=1
 ^^
> These options need to match
> in Unknown on line 0
> PHP Warning: Unable to load dynamic library 
> '/usr/pkg/lib/php/20020429/pcre.so' - 
> /usr/pkg/lib/php/20020429/pcre.so: Undefined symbol "executor_globals" 
Symbol issues tend to confirm modules were not compiled the same way as
mod_php4.so.
Try and clean and rebuild all.
cube
-- 
That's how I did it, Anton. I never saved anything
for the swim back.
Vincent/Jerome, in Gattaca.

AltStyle によって変換されたページ (->オリジナル) /