I've built the PHP API for 2.5.13 on Linux and got the two files db4.so and dbxml.so. When I add them to php.ini and load the extensions in Apache 2.2 I get this error message:
PHP Warning: PHP Startup: db4: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: dbxml: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
Obviously there is something wrong with thread-safety. If I check phpinfo() thread safety is enabled (the server API is set to "Apache 2.0 Handler"). I'm currently trying to understand what's wrong but maybe someone else ran into this before and can help quickly?
Boris