Get support for ramsey/pecl-memcache-issue-23

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

ramsey/pecl-memcache-issue-23

pecl-memcache Issue #23

This repository reproduces the issue described in websupport-sk/pecl-memcache#23.

In short, on PHP 7.1, when using memcache as the session.save_handler, the following warning occurs when calling session_start():

Warning: session_start(): Failed to read session data: memcache (path: tcp://127.0.0.1:11211)

The same code and settings does not result in this warning on PHP 7.0.

Running the Example

This example uses Docker and Docker Compose to build two images and run two containers (one for PHP 7.0 and one for PHP 7.1). Both are identical, expect for the version of PHP used.

git clone https://github.com/ramsey/pecl-memcache-issue-23
cd pecl-memcache-issue-23/
docker-compose up

Now, the two containers should be running, and you can open the following in your browser to verify:

To test the session_start() issue and see the warning, open the following:

See the scripts in docker/ for an understanding of how everything is configured and running.

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2