The difference between memcache and memcached in their new program is intended to fully apply memcached technology, which is easy to understand this is the memcached is the memory cache, but how do you still have memcache? Actually very simple, memcache is an extension of PHP, for PHP management Memcached,php-memcache.dll. If the installation of memcached does not install the extension, then PHP will not be able to control the memcached, but the command is not a problem to use the implementation of the memcache extension but did not install the memcached service, then this cannot be used You can use memcached in PHP to improve dynamic site performance only if you have both the memcached service and the memcache extension installed
One, install memcache PHP extension 1. Php_memcache.dll Download:: Php_memcache.zip http://www.2cto.com/uploadfile/2012/0713/20120713110240777.zip
2. Put the Php_memcache.dll in the PHP ext directory: The/*memcached.dll version needs to match the PHP version, the PHP version needs to use the Phpinfo () function to view and then hit the http://museum.php.net /php5/download its own version, extract the Php_memcached.dll after extracting it. For example: D:\WampServer\bin\php\php5.3.11\ext\php_memcache.dll3. Open a. php.ini file: My php.ini location: D:\WampServer\bin\php\php5.3.11\php.ini4. Add a line on php.ini: Extension=php_memcache.dll 5. Restart Wampserver Apache Service II, install memcached 1. Memcached-win64 Download: A. Download the latest version: Http://blog.couchbase.com/memcached-windows-64-bit-pre-release-available B. Direct download: Memcached-win64-1.4.4-14.zip
Http://www.2cto.com/uploadfile/2012/0713/20120713110308123.zip
2. Unzip and place under a disk, for example: D:\WampServer\bin\memcached\memcached.exe 3. Under Terminal (also known as cmd Command Interface), enter the following command to install the Windows service: D:\wampserver\bin\memcached>memcached.exe-d installation 4. Then enter the following command to start: d:\wampserver\bin\memcached>memcached.exe-d start if the failed to install service or service already is present Insta lled, find the Cmd.exe program right--run as administrator is OK.
Windows Appserv installation of PHP memcached extensions