Comments on Installing memcached And The PHP5 memcache Module On Debian Etch (Apache2)

Installing memcached And The PHP5 memcache Module On Debian Etch (Apache2) This guide explains how to install memcached and the PHP5 memcache module on a Debian Etch system with Apache2. memcached is a daemon that can store objects in the system's memory (e.g. results of database queries) which can speed up your web site tremendously. You can use memcached over a network (i.e., install your web application on one server and memcached on another server), but usually you install both on one server to avoid the networking overhead.

5 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Guest

I had to enable the extension manually in /etc/php5/conf.d/memcache.ini as the "extension=..." was commented out.

By: Anonymous

didn't bring up anything for me but the module is showing as working in my phpinfo so I'll muster on. 

By: Graham Leach

The config file on CentOS is not /etc/memcached.conf.

It is /etc/sysconfig/memcached.  Here's the contents

---- CUT ---- ---- CUT ---- ---- CUT ---- ---- CUT ---- ---- CUT ---- ---- CUT ---- 

PORT="11211"

USER="memcached"

MAXCONN="1024"

CACHESIZE="128"

 

OPTIONS="-l 127.0.0.1"

---- CUT ---- ---- CUT ---- ---- CUT ---- ---- CUT ---- ---- CUT ---- ---- CUT ---- 

By: olidev

Nice tutorial.

By: Ade

I'm trying to do this on a Debian 9 - PHP7.3 docker container but there appears to be no php-memcache package.

 

I get the following message:

 

Package php7-memcache is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

E: Package 'php-memcache' has no installation candidate