[PCBC-136] PHP client needs to move to later libcouchbase2 API Created: 18/Oct/12  Updated: 23/Oct/12  Resolved: 22/Oct/12

Status: Closed
Project: Couchbase PHP client library
Component/s: None
Affects Version/s: 1.1.0-dp4
Fix Version/s: 1.1.0-dp5
Security Level: Public

Type: Bug Priority: Major
Reporter: Matt Ingenthron Assignee: Sergey Avseyev
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
With the current PHP extension and the newly updated libcouchbase, bug reporter sees:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/couchbase.so' - /usr/lib64/php/modules/couchbase.so: undefined symbol: lcb_set_view_complete_callback in Unknown on line 0

It looks like we changed this on September 26, so we'll need to update the PHP client.

 Comments   
Comment by Matt Ingenthron [ 18/Oct/12 ]
Sergey, since you'd made the change in libcouchbase, can you look at this?
Comment by Paul B [ 20/Oct/12 ]
Having the same issue.
Comment by Matt Ingenthron [ 21/Oct/12 ]
I think we'll try to get a new release out for this on the 22nd, sorry for the trouble.
Comment by Matt Ingenthron [ 21/Oct/12 ]
I believe Trond has a fix for this here: http://review.couchbase.org/#/c/21812/
Comment by Paul B [ 23/Oct/12 ]
Hi guys, ok so I update and now I am getting the following error:

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

Thank you.
Comment by Paul B [ 23/Oct/12 ]
Ah sorry, it was due to this issue --> http://www.couchbase.com/forums/thread/couchbaseso-undefined-symbol-phpjsonencode-unknown-line-0

All good now. Thank you!!
Generated at Thu Jul 31 04:06:49 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.