Install PHP extensions and resource download addresses under Windows (memcached for example)

Source: Internet
Author: User

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)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.