Giter Club home page Giter Club logo

Comments (11)

QuChen88 avatar QuChen88 commented on June 23, 2024

I haven't come across this error previously. Can you please post the exact steps to reproduce this error? i.e. which AMI in EC2 did you launch, and what commands are executed after launching the instance to arrive at the error.

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

greggreenhaw avatar greggreenhaw commented on June 23, 2024

In debian 8, I cloned the php7 branch ran phpize and configured fine without error then on make I got the error. It was confirmed by AWS support as well in ticket 1689381041.

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

QuChen88 avatar QuChen88 commented on June 23, 2024

I just tried to compile on Debian 8 and realized that you will encounter this error if you try to compile the client with the "master" code branch of the package which is intended for PHP 5.x. I switched over to "php7" code branch and it compiled successfully.

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

greggreenhaw avatar greggreenhaw commented on June 23, 2024

i did a git clone -b php7 wouldn't that get the right branch? Can you share a .so file?

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

QuChen88 avatar QuChen88 commented on June 23, 2024

I did

git clone https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-php.git
cd aws-elasticache-cluster-client-memcached-for-php
git checkout php7

You can also do "git config -l" to see which remote upstream you are tracking on your local git branch.

Let me know if you see any other issues compiling.

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

greggreenhaw avatar greggreenhaw commented on June 23, 2024

root@sample:/usr/local/src/aws-elasticache-cluster-client-memcached-for-php# git checkout php7
Already on 'php7'
Your branch is up-to-date with 'origin/php7'.

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

greggreenhaw avatar greggreenhaw commented on June 23, 2024

phpize && ./configure --with-libmemcached-dir=/usr/ --disable-memcached-sasl --enable-memcached-json && make

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

QuChen88 avatar QuChen88 commented on June 23, 2024

You need to compile and reference our custom libmemcached rather than referencing the libmemcached that is installed in the OS via apt-get.

I attached my compiled memcached.so artifact here from my compilation earlier today. You can unzip it and try to link this extension in your PHP7 installation and see if this works for you or not. It worked on my Debian 8 machine.

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

greggreenhaw avatar greggreenhaw commented on June 23, 2024

Copying the .so you sent worked

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

QuChen88 avatar QuChen88 commented on June 23, 2024

Sounds good.

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

QuChen88 avatar QuChen88 commented on June 23, 2024

Removing the zip file here in favour of the updated README instructions.

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.