军哥lnmp环境安装phalcon

# git一份源代码到本地
git clone --depth=1 git://github.com/phalcon/cphalcon.git

# 进入如下目录
cd cphalcon/build

# vi install文件改成
/usr/local/php/bin/phpize && ./configure  --with-php-config=/usr/local/php/bin/php-config --enable-phalcon && make && make install && echo -e "\nThanks for compiling Phalcon!\nBuild succeed: Please restart your web server to complete the installation"

# 开始安装吧
./install

# 最后在php.ini 中添加extension=phalcon.so
posted @ 2016-03-24 19:54  smismile  阅读(342)  评论(0编辑  收藏  举报