git clone --depth=1 "git://github.com/phalcon/cphalcon.git"
cd cphalcon/build
# 如需指定php文件如下,不指定,直接./install
sudo ./install --php-config /usr/local/php/bin/php-config --phpize /usr/local/php/bin/phpize
# 安装过程可能中断,提示需要re2c
# 然后去下载
wget https://jaist.dl.sourceforge.net/project/re2c/old/re2c-0.13.4.tar.gz
make
sudo make install
# 再次编译
linux下编译安装最新版phalcon
猜你喜欢
转载自blog.csdn.net/HD2killers/article/details/84229765
今日推荐
周排行