Install Msgpack,yar,phalcon under Linux

Source: Internet
Author: User
Tags zts

Install msgpack extension Download: Http://pecl.php.net/package/msgpackcd/usr/localtar zxvf msgpack-0.5.5.tgzcd msgpack-0.5.5phpize./ Configure--with-php-config=/usr/local/php5/bin/php-configmake && make Install will generate msgpack.so in no-debug-non-zts-20090626add extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/msgback.so to PHP.iniInstall yar extension Download: Http://pecl.php.net/package/cd/usr/localtar zxvf yar-1.2.4.tgzcd yar-1.2.4phpize./configure-- With-php-config=/usr/local/php5/bin/php-configmake && make install generates yar.so in no-debug-non-zts-20090626add extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/yar.so to PHP.iniInstalling the Phalcon frame: http://pecl.php.net/package

Test environment: LNMP for 64-bit CentOS 6.5,nginx 1.4.4 + PHP 5.5.8 + MySQL 5.5.28, the latest installation script LNMP 1.0 can be downloaded from lnmp.org.

Make sure the LNMP is installed, download the Phalcon framework, and upload it to the/root directory. Because it is tested locally, use root to log in to CentOS.

#php-devel php-mysql gcc libtool已经在安装LNMP时安装在系统中了,无需再次安装cd /rootunzip cphalcon-master.zipcd cphalcon-master/build/64bits#开始手动编译安装make cleanphpize --clean/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-configmake && make install#完成安装

Entering/usr/local/php/lib/php/extensions/no-debug-non-zts-20121212/, you can see that the dynamic library file phalcon.so has been generated.

Add in PHP.ini

Extension=phalcon.so

Then restart PHP to

 

Install Msgpack,yar,phalcon under Linux

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.