Giter Club home page Giter Club logo

Comments (16)

Seegras avatar Seegras commented on June 17, 2024 5

Ubuntu 20.04 LTS is out, and with it comes PHP 7.4. When the first point release (20.04.1) hits in July or so, all 18.04 LTS systems will want to upgrade. So you might want to make sure support for PHP 7.4. is available at that date the latest.

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

KiNgMaR avatar KiNgMaR commented on June 17, 2024 4

If you feel adventurous, you are invited to try building your own memcached.so using the (Docker-based) script that we came up with today: https://github.com/Planerio/aws-elasticache-cluster-client-build
It supports PHP 7.1 through to 7.4 and optionally igbinary. We only tested on Debian-based systems so far, so some feedback from Fedora-based systems would be appreciated.

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

Seegras avatar Seegras commented on June 17, 2024 4

Ubuntu 20.04 LTS is available on AWS, which means we're now starting to set up systems with that OS version. But here's aws-elasticache-cluster-client-memcached still missing.

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

sodabrew avatar sodabrew commented on June 17, 2024 3

And indeed, take note I released memcached 3.1.5 last week: https://pecl.php.net/package/memcached/3.1.5

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

KiNgMaR avatar KiNgMaR commented on June 17, 2024 3

We just updated https://github.com/Planerio/aws-elasticache-cluster-client-build:

  • PHP 8.0 support added
  • Alternative build on Amazon Linux 2 available (see instructions in README)

Feedback welcome!

@sngo08: the error likely means that the built binary is not compatible with the Linux distribution you are trying to run it on.

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

gabriserra avatar gabriserra commented on June 17, 2024 2

Hi everyone! I have tried the Docker script provided by Planerio but unfortunately binary does not work in my setup.

So if any of you need the PHP 7.4 memcached I have compiled starting from the main Amazon tree on an Amazon Linux 2 machine and I can assure it works (tested on a production machine based on another Amazon Linux 2). Both libmemcached and libmemcachedutil are statically linked so you can move the .so without issues.

N.B. It is compiled with igbinary support

AmazonElastiCacheClusterClient-PHP-64bit.zip

Hope you can save some time... I've spent the entire evening!

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

yuetang95 avatar yuetang95 commented on June 17, 2024 1

Hi all,

We just updated the PHP 7.4 support. If you want build it from source code, you can use it following the branch php 7.4. If you'd like to use the pre-compiled client artifact, you can download it from AWS ElastiCache Management Console.

Thanks.

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

wadewomersley avatar wadewomersley commented on June 17, 2024

We'd love to upgrade to 7.4 as soon as possible too - already moved development environments over in preparation.

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

kgkg avatar kgkg commented on June 17, 2024

Any ETA for PHP 7.4 support? It's been 3 months already.

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

theoc31 avatar theoc31 commented on June 17, 2024

If you feel adventurous, you are invited to try building your own memcached.so using the (Docker-based) script that we came up with today: https://github.com/Planerio/aws-elasticache-cluster-client-build
It supports PHP 7.1 through to 7.4 and optionally igbinary. We only tested on Debian-based systems so far, so some feedback from Fedora-based systems would be appreciated.

Thanks for this. Built the binary using your Docker script and working on CentOS for me.

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

bhavinrshah avatar bhavinrshah commented on June 17, 2024

We have tried on PHP 7.4.11 on Cent OS using https://github.com/Planerio/aws-elasticache-cluster-client-build but memcached could not recognized in PHP.
Can someone help on the same?

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

wired00 avatar wired00 commented on June 17, 2024

Any update on this? Is there some way to get amazon-elasticache-cluster-client.so running with PHP 7.4? PHP 7.3 is end of life 28 Nov 2021

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

sngo08 avatar sngo08 commented on June 17, 2024

Hello,
no updates here?
I tried to compile using @KiNgMaR script but had this following error :

/var/www $ php -v
[11-Feb-2021 14:09:58 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'amazon-elasticache-cluster-client.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/amazon-elasticache-cluster-client.so (Error relocating /usr/local/lib/php/extensions/no-debug-non-zts-20190902/amazon-elasticache-cluster-client.so: 
__gxx_personality_v0: symbol not found), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/amazon-elasticache-cluster-client.so.so (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20190902/amazon-elasticache-cluster-client.so.so: No such file or directory)) in Unknown on line 0

I don't understand why

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

sngo08 avatar sngo08 commented on June 17, 2024

We just updated https://github.com/Planerio/aws-elasticache-cluster-client-build:

  • PHP 8.0 support added
  • Alternative build on Amazon Linux 2 available (see instructions in README)

Feedback welcome!

@sngo08: the error likely means that the built binary is not compatible with the Linux distribution you are trying to run it on.

Thank you !
I'm trying to run on Alpine. I thought it would be compatible.

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

theoc31 avatar theoc31 commented on June 17, 2024

We just updated https://github.com/Planerio/aws-elasticache-cluster-client-build:

  • PHP 8.0 support added
  • Alternative build on Amazon Linux 2 available (see instructions in README)

Feedback welcome!

@sngo08: the error likely means that the built binary is not compatible with the Linux distribution you are trying to run it on.

Thanks for this. Built it successfully on CentOS 7 on PHP 8.0.

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

theoc31 avatar theoc31 commented on June 17, 2024

For CentOS 7 users you're welcome to use my binaries I've built.

PHP 7.4 (tested in production) - https://1drv.ms/u/s!AoMdur8ShlA65CN42LZirhIcibf_?e=F70BqM
PHP 8.0 (not tested in production yet) - https://1drv.ms/u/s!AoMdur8ShlA65CIWgMCdXih2GhGc?e=PfgId6

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.