Giter Club home page Giter Club logo

Comments (7)

edhgoose avatar edhgoose commented on September 27, 2024 1

I think these screenshots below best illustrates my scenario.

I've never known that the Elasticache library was an open source library until a couple of days ago and I've always downloaded the Elasticache library from the URL above (https://eu-west-1.console.aws.amazon.com/elasticache/home?region=eu-west-1#client-download:). If I hadn't installed the 5.6 version before and had some understanding of how it worked, I'd be stumped.

PHP 7 Elasticache Library download

If I contrast with this screenshot below, the PHP 5.6 library is a very different beast. There is a package.xml, a README, an INSTALL file, an example ini file and a class file with the various methods in.

PHP 5.6 Elasticache Library download

Does that make sense?

If it helps, the sha256 of the 5.6 library is 0f1b1ec4ac5a926bd792026c1f7d6e5a9b710c4437443a3051e1fb4f8c9b08a2 and the 7.0 library is e9a6bb5982f1a7cb7ccc28c70f5c4b8eb5ceec7ad4ead2492a71845df245fb66

from aws-elasticache-cluster-client-memcached-for-php.

sodabrew avatar sodabrew commented on September 27, 2024

For PHP 7 you need igbinary 2.x with memcached 3.x (The AWS ElastiCache memcached client is a lightly modified php-memcached 3.x.)

https://github.com/php-memcached-dev/php-memcached/blob/master/README.markdown#dependencies

from aws-elasticache-cluster-client-memcached-for-php.

edhgoose avatar edhgoose commented on September 27, 2024

Thanks @sodabrew - now I've got it setup and working I can totally understand that. I guess my question/issue is if you were downloading the Memcache client for the first time, there is nothing to provide you with that information. The package from the AWS console comes with no readme and has no additional information or install, and there's no links to documentation.

Is there anything that can be done to make it easier for users?

from aws-elasticache-cluster-client-memcached-for-php.

sodabrew avatar sodabrew commented on September 27, 2024

@malyeyev-AMZN might be able to help with the posted documentation / requirements?

from aws-elasticache-cluster-client-memcached-for-php.

malyeyev-AMZN avatar malyeyev-AMZN commented on September 27, 2024

@edhgoose:

This is alluded to in the README of this repo, but I only found this by manually unzipping the 5.6 version of the client library from https://eu-west-1.console.aws.amazon.com/elasticache/home?region=eu-west-1#client-download: and trying the README. It'd be great if there was documentation within the AWS console / the packages were maintained to ensure compatability.

That's odd, the source of this package does come with a README describing igbinary instructions:
php7 branch README.markdown
master (php5.x) branch README.markdown

from aws-elasticache-cluster-client-memcached-for-php.

malyeyev-AMZN avatar malyeyev-AMZN commented on September 27, 2024

Thank you for a detailed report. I have opened a ticket internally to track this and hopefully we'll have a chance to fix it at some point.

Are you still experiencing segfaults or any other issues now that you're using igbinary 2.0.1?

from aws-elasticache-cluster-client-memcached-for-php.

edhgoose avatar edhgoose commented on September 27, 2024

from aws-elasticache-cluster-client-memcached-for-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.