PHP memcache,memcache_php Tutorials

Source: Internet
Author: User

PHP Memcache,memcache


My native Environment php5.2.6

Memcached.exe 1.2.4

All versions of Memcache DLLs have http://pan.baidu.com/s/1hqj7ab6

You can contact me if you can't find it.


PHP cannot find the Memcache module

1. Write a phpinfo view file
2. Then search the phpinfo inside PHP.ini find the location of php.ini, confirm that you modified the php.ini and actually run PHP.ini is a file.
3. Check if the Ext directory in php.ini is the directory where you put Php_memcache.dll
4. Check whether the Ext directory of PHP is in the system environment variable.

PHP How to operate Memcache

In PHP to use memcached first download memcached-client.php, after downloading the memcached-client.php, you can through the class "memcached" in this file to operate the memcached service. In fact, the code call is very simple, the main way to use is add (), get (), replace () and delete (), the method is described as follows: Add ($key, $val, $exp = 0) to write to Memcached object, $key is the object's unique identifier, $ Val is the object data written, $exp the expiration time, in seconds, the default is unlimited time; get ($key) www.phpnewer.com/index.php/Tszj/detail/id/404

http://www.bkjia.com/PHPjc/864306.html www.bkjia.com true http://www.bkjia.com/PHPjc/864306.html techarticle php memcache,memcache My native environment php5.2.6 Memcached.exe 1.2.4 Memcache dll each version has HTTP://PAN.BAIDU.COM/S/1HQJ7AB6 You can contact me. php cannot find mem ...

  • 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.