Code Monkey home page Code Monkey logo

pecl-memcache-issue-23's Introduction

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.

pecl-memcache-issue-23's People

Contributors

ramsey avatar

Watchers

 avatar  avatar

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.