[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 | Assignee: | Trond Norbye |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
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? Memcached::OPT_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. |
| Comments |
| 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 ] |
|
http://review.couchbase.org/25701
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 |