Questions tagged [php-memcached]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
175 views

How to remove apcu and memcached from centos?

I've always installed apcu and memcached on my server, but I'm not sure how useful they are. Mostly 2-3 pages per visit are visited on my sites. And I'm not even sure if having them is a good thing or ...
user avatar
  • 67
0 votes
0 answers
108 views

PHP memory size exhausted in drupal

FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 137612647 bytes) Already I increase 2 times in php.ini file. But again ...
user avatar
0 votes
1 answer
364 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 ...
user avatar
2 votes
0 answers
901 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. ...
user avatar
  • 228
0 votes
1 answer
216 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
0 votes
1 answer
939 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]# ...
user avatar
  • 228
0 votes
1 answer
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 ...
user avatar
  • 173
1 vote
1 answer
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?
user avatar
  • 501
0 votes
1 answer
820 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 (...
user avatar
  • 125
0 votes
1 answer
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 ...
user avatar
0 votes
1 answer
384 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 ...
user avatar
-1 votes
1 answer
1k 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 ...
user avatar
0 votes
2 answers
90 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 ./...
user avatar
  • 11
1 vote
1 answer
6k 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. [...
user avatar
  • 113
0 votes
1 answer
9k 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 ...
user avatar
0 votes
1 answer
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: ...
user avatar
  • 129
3 votes
2 answers
8k 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=...
user avatar
  • 12.3k
1 vote
0 answers
245 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'...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 1,421
6 votes
1 answer
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 ...
user avatar
  • 472
2 votes
0 answers
624 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 ...
user avatar
  • 424
3 votes
1 answer
747 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 ...
user avatar
0 votes
0 answers
246 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 ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 2,488