[PCBC-33] Check availability of igbinary Created: 30/Jan/12  Updated: 16/Apr/13  Resolved: 16/Apr/13

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

Type: Improvement Priority: Minor
Reporter: Jan Lehnardt (Inactive) Assignee: Trond Norbye
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

http://couchbase.com/forums/thread/igbinary-php-client reports

I'm a long time memory memcached user, and I always compiled the memcached-php extension to have igbinary. I followed the instructions to get source and unfortunately I was not able to pull the repo. Is there a version that has igbinary configured?
phpinfo reports the igbinary serializer is not avaliable in your default version.
Am I better of using the stock serializer?
Specifies the serializer to use for serializing non-scalar values. The valid serializers are Memcached::SERIALIZER_PHP or Memcached::SERIALIZER_IGBINARY. The latter is supported only when memcached is configured with --enable-memcached-igbinary option and the igbinary extension is loaded.
Type: integer, default: Memcached::SERIALIZER_PHP.

we should look into enabling igbinary for the pre-1.8 SDKs as well it's feasibility for the >= 1.8 SDKs that are based on libcouchbase.

Comment by Matt Ingenthron [ 07/Nov/12 ]
Mark: Please determine if this issue is still valid and help me triage it into the appropriate release. I've assigned it to you for triage, not necessarily to fix it.
Comment by Mark Nunberg [ 07/Nov/12 ]
There is no igbinary support built-in. We use the default serializer. Determine if there's a need for this still.
Comment by Matt Ingenthron [ 12/Nov/12 ]
This would be nice to have, if we can find a good way to enable it optionally.
Comment by Trond Norbye [ 16/Apr/13 ]

This can go into 1.1.4 as an experimental feature. We don't add any new functions etc in order to support this, but just a new configuration parameter
Generated at Tue Sep 23 05:01:22 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.