First, install dependent library libevent
1. Enter the/usr/lib directory, use the command: Ls-al libevent to see if the installation, if installed and version less than 2.0.21, first through: Rpm-e libevent-nodeps to uninstall.
2. Upload libevent-2.
This article describes how to compile and install phplibevent extension instances in Linux. This article focuses on an error solution during compilation, if you want to write a high-performance network service in PHP, you can refer to the following.
This article describes how to compile and install phplibevent extension instances in Linux. This article focuses on an error solution during compilation, if you want to write a high-performance network service in PHP, you can refer to the following.
In windows using windowssdk compiling php source code recommended this article: vladimirbarbarosh.blogspot.com201105compile-php-536-pecl-libevent-004.html in order to facilitate everyone to read, the content will be reproduced to everyone, but still
First understand the difference between memcache and memcached, a letter of difference, summed up under:What is Memcache?Memcache is a free and open source, high performance, allocated memory object caching system. Used to accelerate dynamic Web
In 08, when contacted Memcached, it also sniffed at its client products, after all, manual code does not have a variety of ORM Native XML configuration convenient. Still, memcached is now an integral part of the server architecture.
RELATED
Samsung world's first mixed digital SLR camera system-NX system for a long time brewing, perhaps due to external factors (avoid with Panasonic GF-1 Olympus E-P2 and other micro 43 models caused positive
Samsung's world's first mixed digital SLR
The following installation is the development environment that I need to use. Install it as needed
Install MySQL$ Sudo apt-Get install mysql-Server
Install Apache$ Sudo apt-Get install apache2
Install PhP5$ Sudo apt-Get install PhP5 // install PhP5
Install Memcache on CentOS
Download and install the Memcache Server
The server is mainly used to install the memcache server.
Download: http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gz
In addition, Memcache uses the libevent library
1. download memcached and libevent to the/tmp Directory: # cd/tmp # sudowgethttp: // container /~ Provos/libevent-
1. download memcached and libevent respectively and put them in the/tmp Directory:
# Cd/tmp
# Sudo wget
1. Install libevent. Because the libevent class library is required for memcached installation, install libevent1. download # wgetwww.monkey.org ~ Provoslibevent-2.0.12-stable.tar.gz2.decompress unzip tarxzfvlibevent-2.0.12-stable.tar.gz 3. Go to
Installation of memcached 1. Install libevent Libevent is an event-triggered network library for a variety of platforms such as Windows, Linux, BSD, and other systems that use Select, Epoll, and kqueue to manage event mechanisms internally.
Installation of memcached 1. Install libevent Libevent is an event-triggered network library for a variety of platforms such as Windows, Linux, BSD, and other systems that use Select, Epoll, and kqueue to manage event mechanisms internally.
1. Prepare the installation filesDownload installation files for memcached and libeventHttp://memcached.googlecode.com/files/memcached-1.4.15.tar.gz (memcached)Https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz (libevent)2.
Linux under memcached installation and startup (2013-12-18 11:12:45) reproduced
Category: Linux
Reference:http://wangrui.iteye.com/blog/500921http://www.monkey.org/~provos/1. Prepare the installation filesDownload
1. Introduction Memcached is a high-performance distributed memory cache server developed by the LiveJournal development team of a foreign community website. The general purpose is to reduce the number of database accesses by caching database query
The first kind of yum Mode installationMemcached supports many platforms: Linux, FreeBSD, Solaris, Mac OS, or Windows.The first step Linux system installation memcached, first install the Libevent libraryUbuntu/debiansudo apt-get install libevent
Linux under memcached installation and startup (2013-12-18 11:12:45) reproduced
Category: Linux
Reference:http://wangrui.iteye.com/blog/500921http://www.monkey.org/~provos/1. Prepare the installation filesDownload
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.