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 IssuesTake a look to see if anyone else has experienced the same issue as you and if they managed to solve it.
Open an IssueMake sure to read any relevant guidelines for opening issues on this repo before posting a new issue.
Sponsor directlyCheck 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:
- http://localhost:8001/info.php (should be running PHP 7.0)
- http://localhost:8002/info.php (should be running PHP 7.1)
To test the session_start()
issue and see the warning, open the following:
- PHP 7.0: http://localhost:8001/ (the session should work as expected)
- PHP 7.1: http://localhost:8002/ (
session_start()
should generate a warning)
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.
From the Blog
Interesting Articles
-
Generating income from open source
Jun 23 • 8 min read
-
2023 State of OSS
Apr 23 • 45 min read ★
-
A funding experiment...
Aug 19 • 10 min read
-
But You Said I could
Aug 19 • 2 min read
Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated
p-e622a1a2