Home >Backend Development >PHP Tutorial >Analyze the application of memcache in php_PHP tutorial
Required environment:
php 5.3.3
apache 2.2.7
mysql 5.5.8
Related document download: Click to download
Extract the Memcached_1.2.5 document, execute memcached.exe -d -install under cmd
Extract the php5.3_vc6_memcachedll document, and copy the php_memcache.dll file to the ext file directory of the PHP installation directory.
Then fill in this sentence in php.ini: extension="php_memcache.dll"
Check under phpinfo() to see if the memcache extension is referenced.
Test code: