Nginx summary (7) nginx summary (6) http://www.2cto.com/os/201303/193337.html Php accesses memcachewww.2cto.com and uses the Memcached server in php in two ways. One is memcache developed by the PHP framework, and the other is libmemc... nginx summary (7) nginx summary (6) http://www.2cto.com/os/201303/193337.html Php accesses memcache www.2cto.com and uses the Memcached server in php in two ways. One is memcache developed by the PHP framework, and the other is memcached of libmemcached. http://pecl.php.net/package/memcache Download the required memcache version online! The current stable version 2.2.7. First install www.2cto.com [root @ host2 ~] # Tar zxf memcache-2.2.7.tgz [root @ host2 memcache-2.2.7] #/usr/local/php/bin/phpize [root @ host2 memcache-2.2.7] #. /configure -- enable-memcache -- with-php-config =/usr/local/php/bin/php-config [root @ host2 memcache-2.2.7] # make & make install Build complete. don't forget to run 'Make test '. installing shared extensions:/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/display after installation is complete! Modify the [root @ host2 memcache-2.2.7] # vim/usr/local/php/etc/php. ini extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/" extension = memcache. now, you can do it now. the other one is similar! Install libmemcached first.
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.