Subject: Re: Apache 2 and PHP4 modules
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Reinier Jonker <rjgjonker@xs4all.nl>
List: tech-pkg
Date: 11/06/2002 22:00:30
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 
error upon trying to  use a PHP page (from Apache's error_log):

PHP Warning:  bz2: 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:  calendar: 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:  ftp: 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:  gettext: 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/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" 
(symnum = 96) in Unknown on line 0
PHP Warning:  Unable to load dynamic library 
'/usr/pkg/lib/php/20020429/posix.so' - 
/usr/pkg/lib/php/20020429/posix.so: Undefined symbol "core_globals" 
(symnum = 100) in Unknown on line 0
PHP Warning:  Unable to load dynamic library 
'/usr/pkg/lib/php/20020429/session.so' - 
/usr/pkg/lib/php/20020429/session.so: Undefined symbol "core_globals" 
(symnum = 150) in Unknown on line 0
PHP Warning:  sockets: 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/zlib.so' - 
/usr/pkg/lib/php/20020429/zlib.so: Undefined symbol "core_globals" 
(symnum = 106) in Unknown on line 0

-- 
Reinier Jonker