Bu » PECL eklentisi PHP ile gelmez. Bu PECL eklentisini kurma bilgisi kılavuzun PECL eklentisinin kurulması başlıklı faslında bulunabilir. Yeni dağıtımlar, indirmeler, kaynak dosyaları, sürdürücü bilgileri ve CHANGELOG gibi ek bilgiler şu adreste bulunabilir: » https://pecl.php.net/package/memcache.


It's possible to disable memcache session handler support. The 'pecl install' option prompts for this (default is enabled) however when compiling statically into PHP the --disable-memcache-session configure option may be used.

add a note

User Contributed Notes 7 notes

mit at mitayai dot org
14 years ago
It is very important to note when reading the information supplied by others on this page that there are two *distinct* memcache PHP implementations for the service "memcached".

1) pecl-memcache
2) pecl-memcached

This page is for the first, pecl-memcache.

If you are looking for pecl-memcached information, visit here:

sidi dot khalifa at live dot fr
2 years ago
I hope this will help someone,
Context: I wanted to use memcache
like this:

$memcache = new \Memcache();

but composer suggests me to install the extension
"ext-memcache": "*",

but that one didn't want to work, so I installed

sudo apt install php7.4-memcache
sudo apt install php7.4-memcached

and all worked
horica78 at yahoo dot com
16 days ago
in Edge https://github.com/nono303/memcached/tree/1.6.28 <code>->download zip

https://github.com/nono303/memcached/tree/1.6.28/libevent-2.1/x64 in Edge

and rename to memcached the directory and :

cd C:\nssm\win64
nssm install memcached c:\memcached\memcached.exe
nssm start memcached

https://pecl.php.net/package/memcache/8.2/windows php_memcache... . dll in c:\php\ext and in php.ini and should work
Felipe Estrella Barros
12 years ago
On Slackware, after copilling it, you should copy the file /module/memcache.so to /usr/lib/httpd/modules. Then, the instruction extension=memcache.so must be added into the file /etc/httpd/php.ini

Restart the httpd and it should work!
mykel dot alvis at gmail dot com
16 years ago
on Fedora, apparently

yum install php-pecl-memcache
no at spam4me dot com
14 years ago
#if apt-get, rpm, or yum doesn't work
cd /usr/src/
wget http://pecl.php.net/get/memcache-2.2.4.tgz
tar -zxvf memcached-2.2.4.tgz
cd memcached-2.2.4
phpize && ./configure --enable-memcache && make
cp modules/memcache.so /usr/lib/php/modules/

# Note: packaged extension modules are now loaded via the .ini files
# found in the directory /etc/php.d
touch /etc/php.d/memcached.ini
echo 'extension=memcache.so' > /etc/php.d/memcached.ini

service httpd restart
andryzeus at ukr dot net
12 years ago
If you have error with libtool version after make - way to install:
phpize --clean && phpize
rm aclocal.m4
make install
[memcache-2.2.6, gentoo.x86-64]
To Top