-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
session_start(): Failed to read session data: memcache using php7.2 #57
Comments
any updates? |
Hi, sorry we are on holidays, i will take a look at it next week when im back. |
Hey, still on holiday? We came across the same bug today after upgrading to 18.04 for a different customer. |
For me it just looks like you return the wrong value. Like: return error; (even if everything works) |
@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. |
@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 |
Hey, |
Hey,
I tried some debugging but I think php is the problem:
php-fpm configuration
Error message:
Test file:
ngrep log:
We are using php7.2-fpm on Ubuntu 18.04 with php-memcache (3.0.9~20160311.4991c2f-5build2). The Memcached server runs on Ubuntu 16.04 (1.4.25-2ubuntu1.2). There are no erros in the log file. Any idea what's wrong?
Greetings
kmille
The text was updated successfully, but these errors were encountered: