Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache, PHP API and thread safety

707995Oct 27 2009 — edited Oct 28 2009
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 25 2009
Added on Oct 27 2009
1 comment
2,568 views