Questions tagged [php-memcached]
25 questions
5
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
- 462
- 4
- 14
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
- 12,066
- 25
- 111
- 171
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
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
- 228
- 3
- 6
- 20
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
- 491
- 1
- 10
- 19
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
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,381
- 6
- 19
- 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,488
- 3
- 28
- 47
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
- 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
- 228
- 3
- 6
- 20
0
votes
1 answer
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 tries to submit a comment, nginx gets stuck on the…
4oo4
- 173
- 1
- 10
0
votes
1 answer
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 (Ubuntu 16.04 LTS) with Auto Scaling and Load Balancer,…
Igor
- 125
- 6