Questions tagged [php-memcached]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

Can we use memcached 2.2 with PHP 7.2?

Is this ok to use memcached 2.2 version with php 7.2. When I tried to install memcached 2.2, I am facing an issue like ./php_memcached_private.h:44:10: fatal error: 'ext/standard/php_smart_str.h' file ...
0
votes
1answer
44 views

Memcached not working in PHP file but working on SSH - CentOS

On my CentOS 7, Memcached is running and working on SSH but not working in the PHP file. I've followed this article: https://www.mynotepaper.com/install-memcached-on-centos-7. This method was working ...
1
vote
0answers
91 views

Memcached fails/crashes every few hours

I have a CentOS 7 server with Memcached. There are a lot of requests, and usually after a few hours, the memcached daemon crashes. I always restart the service, but it crashes again a few hours later. ...
0
votes
1answer
135 views

Error: Package: libmemcached-opt-libs Requires: libevent2

When I try to run yum update it says libmemcached-opt-libs requires libevent2 but I couldn't find how to install libevent2. When I try yum install libevent2 I get No package libevent2 available ...
0
votes
1answer
1k views

How to tune memcached service [duplicate]

I am new to server management and earlier I used shared hosting and thought to go for VPS and get more for my websites. VPS specs: RAM: 12GB CPU: 4 Core Intel E5 SSD: 300GB Server: Apache OS: Ubuntu ...
0
votes
1answer
570 views

Memcached fails after a few hours of usage

I just installed CentOS 7, with Apache 2, PHP 5.6. I also installed memcached, but it keeps failing after a few hours of usage, so I have to restart it at least 3 times a day. [root@myserver log]# ...
0
votes
1answer
1k views

HTTP 405 Submitting Wordpress comments (Nginx/PHP-FPM/Memcached)

I just realized that the comments are broken on a Wordpress site I'm working on (LEMP+memcached), and can't figure out why. I'm sure it's not related to my theme nor any plugins. Basically, anyone ...
1
vote
1answer
6k views

How Can I Install Memcached on Debian Jessie with PHP 7.1.1

The command apt-get install php-memcached will be installing php7.0. Is there any way to install memcahed extension with php7.1?
0
votes
1answer
680 views

How to use PHP memcached for session storage with Auto Scaling?

I already have memcached installed in my servers and I've modified the default php.ini to: session.save_handler = memcached session.save_path = "127.0.0.1:11211" I'm using Amazon EC2 instances (...
0
votes
1answer
1k views

php can't load php5-memcached extension

I have an issue with the php5-memcached process install. My Debian version : 8.5 My php version : PHP 5.6.24-0+deb8u1 (cli) (built: Jul 26 2016 08:17:07) I have made apt-get install php5-memcached ...
0
votes
1answer
255 views

How to tell if memcache was flushed programatically?

How can I tell if memcache was flushed programatically? If I issues a echo flush_all | netcat localhost 11211 to memcache how can I tell it actually worked? I am writing some code to flush all ...
-1
votes
1answer
944 views

why memcached server running slow for my case

I am usiing memcached for html caching for my project but it take too much time to retrieving data and responding. Server stats: 8 GB RAM, centos, php client Here is my setting : echo "stats ...
0
votes
2answers
68 views

Centos 6.8 memcached not found

Installed latest version of memcached(1.4.28) with these instructions: wget http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz tar -xzf memcached-1.4.13.tar.gz cd memcached-1.4.13 ./...
1
vote
1answer
5k views

How to install “memcached” to php 5.6?

I had installed PHP 5.6.20 from this source. https://webtatic.com/packages/php56/ But I cannot install memcached. Just only memcache. How to install memcached to PHP 5.6? This is what i tried. [...
0
votes
1answer
7k views

“Memcache can't connect, connection refused (111)”? [closed]

First of all... I must say, I don't know much about servers. I'm the kind of php developer that don't use command lines very often. I'm very uncomfortable in the Terminal. However, I'm learning. I'm ...
0
votes
1answer
2k views

Install memcache php ext on php 5.6

I have php 5.6.6 installed on Amazon Linux. I want to install memcache extension (not memcached server, we use Elasticache). I try # yum install php-pecl-memcache.x86_64 And get the following error: ...
3
votes
2answers
7k views

PHP memcached session redundancy

I'm trying to follow How To Share PHP Sessions on Multiple Memcached Servers article and implement that to my environment: /etc/php.d/memcache.ini: # grep -v ^\; /etc/php.d/memcache.ini extension=...
1
vote
0answers
167 views

SASL severity 2 password verification failed

I have PHP Memcached running I have binary turned on (both memcached process & php) I am using Memcached::setSaslAuthData Using Ubuntu 14.04 SASL is enabled I just continually get: mech: ``PLAIN'...
1
vote
1answer
1k views

Having Memcache and Memcached installed and enabled at the same time

Can I use both Memcache and Memcached php extensions on the same server at the same time? Just to be clear so you dont misunderstand what I mean by this question, here is my scenario: I have both ...
5
votes
1answer
2k views

PHP Session Storage in Fault Tolerant Memcached Pool

I recently had the opportunity to move a web application from using a Nginx proxy "loadbalancer" to an F5 loadbalancer. Unfortunately during that migration it became clear that the memcached session ...
2
votes
0answers
588 views

What is the right value for memcache.session_redundancy?

The PHP manual for Memcache doesn't have any explanation for the memcache.session_redundancy option. The comment on that page (which is 4 years old) says it sets the number of copies of a session ...
3
votes
1answer
685 views

Save PHP opcache to Memcached

Running on small servers it would make sense offloading these as much as possible for performance. Also offloading will prevent from the server becoming a bottleneck. Therefore I use memcached for ...
0
votes
0answers
219 views

memcached available, but not installed and unable to uninstall, but run in process

I installed memcached in my cent OS VPS. Somehow it's not work as i expected and now I switched to suPHP. But when I run 'top' command I can see 'memcached' run as a nobody user. 1727 nobody 20 ...
1
vote
1answer
1k views

Does PHP memcached client support prefix-based cache purge?

I'm looking for a simple answer to a simple question that is hard to search for. Does memcache support purging a subset of keys? Or is a purge call always going to flush the entire cache? More ...