GithubHelp home page GithubHelp logo

Comments (7)

tomassrnka avatar tomassrnka commented on June 15, 2024 1

Hi, sorry we are on holidays, i will take a look at it next week when im back.

from pecl-memcache.

kmille avatar kmille commented on June 15, 2024

any updates?

from pecl-memcache.

kmille avatar kmille commented on June 15, 2024

Hey, still on holiday? We came across the same bug today after upgrading to 18.04 for a different customer.

from pecl-memcache.

kmille avatar kmille commented on June 15, 2024

For me it just looks like you return the wrong value. Like: return error; (even if everything works)
probably just this: https://github.com/php/php-src/blob/master/ext/session/session.c#L441
I currently don't have the time to make a PR (+ I don't exactly where I need to patch it)

from pecl-memcache.

tomassrnka avatar tomassrnka commented on June 15, 2024

@kmille I tried to reproduce the bug, yes it is there with php-memcache from Ubuntu 18.04, however if you use latest release from this repo, it works as expected.
# php a.php
done

from pecl-memcache.

tomassrnka avatar tomassrnka commented on June 15, 2024

@kmille -> could you please try it with current pecl-memcache extension from our repo? It should be pretty easy to build.

# install deps
apt-get install  php7.2-dev git make 

# Build extension
CFLAGS="-fstack-protector-strong -fpic -fpie -O2"
CPPFLAGS="$PHP_CFLAGS"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
set -eux
cd /usr/src
git clone https://github.com/websupport-sk/pecl-memcache.git
cd pecl-memcache; 
phpize 
./configure 
make -j$(nproc)

# remove old one
apt-get remove php7.2-memcache # or php-memcache

make install 

from pecl-memcache.

kmille avatar kmille commented on June 15, 2024

Hey,
thanks for caring! We upgraded the system so I can't reproduce it anymore.

from pecl-memcache.

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.