军哥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