Preparations for using PHP programs to operate Memcache

Source: Internet
Author: User
To use a PHP program to operate Memcache, you need to prepare the Memcache extension library php_memcache.dll. Note: The version of The Memcache extension library php_memcache.dll must be the same as the PHP version installed on the local machine. PHP5.4 is installed on the local machine, so I chose php_memcache.dll in php5.4-memdll. If the selected version is different

To use a PHP program to operate Memcache, you need to prepare the Memcache extension library php_memcache.dll. Note: The version of The Memcache extension library php_memcache.dll must be the same as the PHP version installed on the local machine. PHP5.4 is installed on the local machine, so I chose php_memcache.dll in php5.4-memdll. If the selected version is different

To use a PHP program to operate Memcache, prepare the extended Memcache database php_memcache.dll.

Note: The php_memcache.dll extension library of Memcache must be of the same version as the PHP version installed on the local machine.

PHP5.4 is installed on the local machine, so I chose php_memcache.dll in php5.4-memdll.

If the selected version is different, the following error occurs when you restart Apache:


First, copy the correct version to the ext directory in PHP.

Next, open the php. ini file and add the extension = php_memcache.dll configuration.

Restart the Apache server. At this time, no error message is displayed, indicating that the preparations for the preliminary work are correctly configured.

In this way, you can use the php program for development.

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.