Memcached don't have to introduce--
1: Install memcached Server Software under Windows, download and upload cloud disk---Portal Remember to bring the key: YKRC
After the decompression inside the installation instructions are included in the installation tutorial.
2: Software installed in the server host, then PHP needs an extension to connect to the memcached, this extension is Memcache.dll, also download and upload to the cloud disk-helicopter remember with gasoline: ee5g
After decompression can see a lot of PHP version corresponding extensions, you need to choose their current PHP version corresponding to the extension, including thread-safe and non-thread-safe, x86 or x64.
Copy your corresponding extension to the PHP configuration file settings in the extended storage folder, usually in the installation and directory of the ext file, throw it in!
Then add Extension=php_memcache.dll to the configuration file, restart the server software to take effect, now happy to use the
3: If you are prompted for non-Win32 applications or do not recognize extensions or other unknown errors, please reconfirm whether the extension is selected.
4: Use Demo: If output value is normal, the installation is successful
1
PHP23$memcache _obj = memcache_connect (' localhost ', 11211); 4 $memcache _obj->set (' key ', ' value '); 5 $value=$memcache _obj->get (' key '); 6 Echo $value;
The above describes the Windows environment configuration memcached PHP, including the memcached aspects of the content, I hope to be interested in PHP tutorial friends helpful.