PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Runtime Configuration> <Installing/Configuring
Last updated: Fri, 22 Aug 2008

view this page in

Installation

This » PECL extension is not bundled with PHP. Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » http://pecl.php.net/package/memcache.

In order to use these functions you must compile PHP with Memcache support by using the --enable-memcache[=DIR] option. You may optionally disable memcache session handler support by specifying --disable-memcache-session.

Windows users will enable php_memcache.dll inside of php.ini in order to use these functions. The DLL for this PECL extension may be downloaded from either the » PHP Downloads page or from » http://pecl4win.php.net/



Runtime Configuration> <Installing/Configuring
Last updated: Fri, 22 Aug 2008
 
add a note add a note User Contributed Notes
Installation
mykel dot alvis at gmail dot com
18-Jun-2008 11:01
on Fedora, apparently

yum install php-pecl-memcache
akeem dot philbert at rokkan dot com
14-May-2008 09:30
for ubuntu it is actually:
apt-get install php5-memcache
Anonymous
03-May-2008 06:20
ubuntu:
apt-get install php5-memcached
the conf file is then in  /etc/php5/cli/conf.d/memcache.ini

remember to restart the webserver
Wayne
01-May-2008 03:09
Newer PHP versions don't have a --enable-memcache options; simply installing the PECL package will be enough... so to be absolutely clear, you WON'T have to recompile PHP to use memcache.  That paragraph above seems like a bad case of earlier version documentation editing.

Runtime Configuration> <Installing/Configuring
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites