skip to Main Content

Uncaught Error: Class 'Memcached' not found in docker container

I am trying to deploy php7 slim application into docker. This is how my Dockerfile looks like: FROM php:7.1.2-apache RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo…

VIEW QUESTION

python-memcached installation failed using pip and conda in Python 3.6

python-memcached library failed to installed in Python 3.6 Commands : pip install python-memcached Trace : Collecting python-memcached Downloading python-memcached-1.58.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "C:UsersJSRAppDataLocalTemppip-build-j63q50jppython-memcachedsetup.py", line…

VIEW QUESTION

Memcached – Session Data is not updating

I m using express-session and memcached-connect package for maintaining session. Everything is working as expected. Here is my implementation: Middleware app.use(session({ rolling: true, secret: 'iloveexpress', proxy: 'true', store: new MemcachedStore({ hosts: ['127.0.0.1:11211'] }), cookie: { maxAge: 86400000, path: "/", domain:…

VIEW QUESTION
Back To Top
Search