[PCBC-167] Got this error "undefined symbol: php_json_encode in Unknown on line 0" in PHP when trying to use client library v1.1.1 Created: 17/Dec/12  Updated: 03/Jan/13  Resolved: 03/Jan/13

Status: Closed
Project: Couchbase PHP client library
Component/s: library
Affects Version/s: 1.1.1
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Critical
Reporter: Andrey Nikishaev Assignee: Matt Ingenthron
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: CeontOS 5.6
PHP 5.2.17
Couchabse 1.8


 Description   
Installed fresh v1.1.1 client lib to production server and got this:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/couchbase.so' - /usr/lib64/php/modules/couchbase.so: undefined symbol: php_json_encode in Unknown on line 0

I already had this error, and it was fixed with loading lib after json lib. But now it not helped. It still throwing error even if couchbase.so loading after json.so

 Comments   
Comment by Trond Norbye [ 03/Jan/13 ]
AFAIK we don't support PHP 5.2. According to http://www.php.net/downloads.php 5.4 is the current stable version, and 5.3 is the old stable version.
Generated at Tue Oct 21 17:10:59 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.