Questions tagged [php-memcached]
28 questions
9
votes
8 answers
Unable to load memcache.so extension
I built PHP from source with configure command
'./configure' '--prefix=/usr/local/php-5.2.8' '--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d' '--with-apxs2=/usr/local/httpd/bin/apxs' '--with-mysql=/usr/local/mysql/'…

billyduc
- 1,617
- 8
- 24
- 26
6
votes
1 answer
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 storage needed to move from the Nginx proxy…

Joe
- 492
- 4
- 15
3
votes
0 answers
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.
The /var/log/memcached.log file is empty.
These…

Andres SK
- 238
- 3
- 7
- 22
3
votes
2 answers
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 ^\;…

alexus
- 13,112
- 32
- 117
- 174
3
votes
1 answer
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 sessions, database indexes, user data etc.
Question;…

Robert De Wilde
- 81
- 3
2
votes
0 answers
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 object.
In another old question on memcache this…

A.Jesin
- 424
- 1
- 4
- 14
1
vote
1 answer
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?

Dani
- 531
- 3
- 11
- 24
1
vote
1 answer
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.
[root@testcentos ~]# yum -y install…

vee
- 113
- 1
- 4
1
vote
1 answer
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:
Error: php56-common conflicts with…

Volodymyr
- 139
- 5
1
vote
0 answers
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'' with 46 bytes of data SASL (severity 2): Password…
1
vote
1 answer
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 Joomla and phpbb for my website. Joomla provides…

Neel
- 1,441
- 7
- 21
- 35
1
vote
1 answer
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 specifically, does PHP's memcached ("d" on the end)…

JDS
- 2,598
- 4
- 30
- 49
0
votes
1 answer
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 message.
Does Anyone has similiar issue on libmemcache…

freedom_mine
- 3
- 2
0
votes
1 answer
How to tune memcached service
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 16.04
PHP: 7.0 FCGI
Stack: Virtualmin
Script:…

Prashant Verma
- 1
- 1
- 2
0
votes
1 answer
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]# systemctl status memcached
● memcached.service -…

Andres SK
- 238
- 3
- 7
- 22