Re: --enable-memcache

From: Date: Tue, 09 Oct 2007 12:55:37 +0000
Subject: Re: --enable-memcache
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-18286@lists.php.net to get a copy of this message
Mazzu <confins_de_l_univers@yahoo.fr> wrote: > Michael Temeschinko <mt@amorebio.de> wrote: >> Hello, >> >> I want use memcache with PHP >> >> but configure says: >> >> Notice: Following unknown configure options were used: >> >> --enable-memcache >> >> how do I install memcache-functions in php 5.2.4? >> >> http://de.php.net/manual/de/ref.memcache.php >> >> >> mfg - micha > > try to compile it statically > > The memcache extension is not bundled with PHP. > > So, there is two way to use memcache with PHP : > > 1) Build separate .so file (recommended) > Download memcache extension at > http://pecl.php.net/get/memcache-2.2.0.tgz > Untar the archive > Build the .so file and install it : > phpize > ./configure --enable-memcache > make > make install > > 2) Add it to php sources to compile memcache extension statically > Download php sources > Download memcache extension > Untar both archives > Copy the memcache source to /path/to/src/php-x.y.z/ext/memcache > Build php executable and install it : > ./buildconf --force > ./configure --enable-memcache > make > make install > > Hope that helps. > > -Mazzu The first sentence is a mistake. Don't try to compile statically if possible.

« previous php.install (#18286) next »