1. Nạp package
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
2. Upgrade php ( Nếu phiên bản php của bạn < 5.4 )
yum --enablerepo=remi,remi-php56 update php php-mysql php-fpm php-common
* Chú ý: Bước này sẽ cập nhật lên php 5.6
3. Cài mem cache
yum --enablerepo=remi,remi-php56 install php-pecl-memcached php-pecl-memcache memcached- Khởi động memcache
service memcached start- Cấu hình memcache tự chạy
chkconfig memcached on- Khởi động lại apache
service httpd restart
VIDEO
Đăng nhận xét Blogger Facebook
Click to see the code!
To insert emoticon you must added at least one space before the code.