Questions tagged [memcache]

113 questions
1
vote
1 answer

600+ memcache req/s problems - help!

I am running memcached on my server and when it hits 600+ req/s it becomes unstable and causes a big load of problems. It appears when the request rate gets that high, my PHP applications at random times are unable to connect to the memcache server,…
Aco
  • 103
  • 1
  • 2
  • 11
1
vote
2 answers

phpMyAdmin displays blank page after installing APC and memcached

I am running a LAMP stack on CentOS 5.6 with PHP 5.3. I had installed phpMyAdmin and it worked. I was able to log in and do anything. Then I installed memcached and its PHP extension as well as APC and it’s PHP extension. I have restarted httpd and…
Nbrochu
  • 39
  • 4
1
vote
1 answer

Caching functions - fwrite vs memcache

Which will be faster and best option? Page will load faster with fwrite or memcached cached function? I need to store some functions in cache, they will not update very often, so need only to read it. Which one will be best option?
zion
  • 51
  • 1
  • 3
1
vote
2 answers

phpize command not found

I was installing memcache on my Cent OS 5 server and I am following this guide > http://www.howtoforge.com/php_memcache_centos5.0 And now, when I enter, phpize && ./configure --enable-memcache && make the server says phpize: command not found So, I…
Prasad N
  • 145
  • 1
  • 2
  • 7
1
vote
3 answers

Setting up memcached/memcache with Php on Ubuntu 10.10

I'm assuming memcache and memcached are two completely different things, and that I want to use memcached. I have two separate servers (one is a webserver, one is meant for the db). I don't know which one would be better to keep memcached on. Can…
Matthew
  • 1,769
  • 4
  • 21
  • 32
1
vote
1 answer

best practice with memcache/php - multi memcache nodes

So I am working on a web app - that has to be built for scalability. It stores frequent MySQL querys into the cache. I have pretty much everything built and ready to go - but I am concerned on best practices on handling where to cache the data. I've…
user62835
1
vote
3 answers

How to confirm memcache memory increase?

Alright, I have downloaded /etc/sysconfig/memcache And edited the file that contained "PORT="11211" USER="memcached" MAXCONN="1024" CACHESIZE="64" OPTIONS="" to 1000 cachesize. I uploaded the file back to the server. Now I know there is a way to…
Peter Johansson
  • 377
  • 1
  • 6
  • 8
1
vote
1 answer

What do I change in php.ini file so that the sessions are handled in memcache?

I have installed the memcache extension and also memcached. Now what do I need to chance in the php.ini file so that all sessions are handled in memcache?
Peter Johansson
  • 377
  • 1
  • 6
  • 8
1
vote
3 answers

How do I install APC and Memcache on CentOS WITHOUT installing the PHP package?

I need to install some extra modules like: sudo pecl install apc sudo pecl install memcache But the pecl program is not installed. Supposedly, I can install it by installing the php-devel package with yum, but yum insists on installing the PHP…
Nick
  • 4,433
  • 29
  • 67
  • 95
1
vote
1 answer

php extensions and shared hosting

I'm on shared hosting and I'm trying to set up the memcached.so module to be used for php. Obviously I'm not able to put the .so file in /usr/lib64/php/modules so for my extension_dir value in my version of the php.ini…
cronman5000
1
vote
1 answer

Memcache on MAMP 1.9

I am trying to make memcache work on MAMP 1.9. In the process I have successfully installed memcached and tested it. But I can't find a way to install memcache.so on my MAMP. Any suggestions. Thanks
Gautam
  • 215
  • 2
  • 9
1
vote
1 answer

Can't connect to memcached

We currently have memcached running on CentOS. None of our PHP applications can connect, have tried multiple applications trying to establish access. The most informative PHP error we get is: "Memcache::get() [function.Memcache-get]: Server …
DMClark
  • 21
  • 1
  • 3
0
votes
2 answers

PHP Fatal error: tried to allocate 47264368 bytes

While running a website hosted into two app servers via load balancer, suddenly one app server stopped working and got hang. From the other app server access log found 499 status and also load average was high. About 20 minutes later, it started…
0
votes
0 answers

even after apt-get update E: Unable to locate package php5-memcached

I received a error "PHP Fatal error: Class 'Memcache' not found in " so I tried to install memcache using the following command "sudo apt-get install php5-memcache" but it throws the following error E: Unable to locate package…
0
votes
1 answer

Can't set session.save_handler to memcache

NGINX + PHP-FPM 5.7.12 I'm trying to set my session handler to memcache, so I installed the module php-memcache, opened /etc/php.ini and changed the following lines: session.save_handler = memcache session.save_path =…