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