The official download of the PHP installation package ext directory is included in the common PHP extension, but in some cases does not meet our project needs, such as the memcache extension is not in the official PHP installation package. Then we need to download the installation ourselves.
This article lists the PHP extensions that are officially provided by PHP. Also give the steps to install PHP extensions under Windows (for example, install the memcache extension).
Assuming that the memcached server is already installed on Windows, the way to start the memcached service is to download the Memcached.exe executable directly online, then locate the file in CMD and use the command memcached-m 64-p 11211-VVV Open Memcached Services, such as:
Now to use PHP to connect to the memcached server, you need to introduce the corresponding Php-memcache.dll extension, you need to note that in Windows to find the corresponding DLL extension to be very cautious, generally consider the following points:
1. PHP version
2, TS or NTS (thread safety or unsafe)
3, compile is VC6 or VC9
See these 3 items from Phpinfo () as follows:
To follow this request, go to http://windows.php.net/downloads/pecl/releases/to download the memcache extension below
Then follow the above picture red font hint to complete the PHP memcache extension installation!
Installing PHP extensions and resources under Windows (memcached for example)