Questions tagged [php-memcached]

28 questions
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
  • 303
  • 3
  • 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,…
0
votes
1 answer

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 but the module is not loaded. php -m don't return…
0
votes
1 answer

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 servers and want to make sure they all received the…
Elijah Lynn
  • 141
  • 6
  • 17
0
votes
2 answers

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 ./configure make && make install I've got the module in…
scr3w
  • 11
  • 1
0
votes
1 answer

"Memcache can't connect, connection refused (111)"?

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 not used to have my websites on dedicated servers…
0
votes
0 answers

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 0 58176 1004 652 S 0.0 0.0 0:00.64…
MaxBro57
  • 37
  • 8
0
votes
0 answers

Error Installing Memcached with Plesk Ubuntu Server

We are working on getting a new Ubuntu Plesk server running with memcached and keep running into errors when setting it up for PHP. Using the instructions from Plesk we run the following successfully: apt install memcached autoconf automake gcc…
Jason C
  • 3
  • 3
0
votes
1 answer

memcached causes Apache processes to hang indefinitely

I have been tracking down the source of Apache processes hanging indefinitely. Unfortunately, I need to regularly reboot Apache as it eventually exhausts all slots. The Apache status page below shows processes hung in the W - Sending Reply state -…
tom_nb_ny
  • 51
  • 1
  • 9
0
votes
1 answer

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 a bad thing, whether it's talking about SEO or…
alebal
  • 67
  • 3
0
votes
0 answers

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 memory size exhausted happening. And also I got…
0
votes
1 answer

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 fine on my previous server. I've tested Memcached…
-1
votes
1 answer

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 settings" | nc localhost 11211 STAT maxbytes…
Ajit Kumar
  • 101
  • 2
1
2