This article mainly introduces Memcache in PHP. starting from introduction to Memcache, it describes in detail the differences between Memcache and memcached, all PHP Memcache operation methods, and detailed explanations of each operation method,
The list of Memcache class functions is as follows:
Memcache::add? Adds a value that returns false if it already exists
Memcache::addserver? Add a server address that is available for use
Memcache::close? Close a Memcache object
Memcache functions in PHP
Memcache functions are listed as follows:
Memcache: add? Add a value. if it already exists, false is returned.
Memcache: addServer? Add an available server address
Memcache: close? Disables a Memcache object.
This article mainly introduces the PHP memcache, starting from the memcache introduction, in detail, such as memcache and memcached differences, PHP memcache all the operation methods, each operation method of the detailed explanation, the need for
I. Prepare the compiling environment. yum install gcc-c ++ libstdc ++-devel yum install zlib-devel 2. Prepare the wget http://monkey.org in the source package /~ Provos/libevent-1.4.14b-stable.tar.gzwget
Memcache's official homepage: PHP tutorial. Net/package/memcache ">http://pecl.php.net/package/memcache
Official homepage of memcached: http://pecl.php.net/package/memcached
The following is a procedure record of the PHP module that I installed
This article introduces you to PHP memcache and memcached, interested friends can see
**memcache Introduction: **memcache is a set of distributed cache system, distributed means can be installed on multiple servers at the same time Memcache services,
Original paste: Http://tech.idv2.com/2008/07/31/memcached-005/memcached completely parse –1. The foundation of Memcached
copyright Notice : Can reprint arbitrarily, but reprint must mark original author Charlee, original link http://tech.idv2.com/200
Memcache official homepage: php Tutorial. net/package/memcache "> http://pecl.php.net/package/memcacheMemcached official homepage: http://pecl.php.net/package/memcachedThe following are the process records for installing the PHP module of the
Download memadmin,:http://www.junopen.com/memadmin/and create a new site in IIS. Test address: Http://wap.yousawang.com/mem,1. Restart ApacheService httpd Restrat/ETC/INIT.D/HTTPD stop/ETC/INIT.D/HTTPD start2. Restart MySQLService mysqld Restart/etc/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.