CentOS下安装phalcon - 小众知识

CentOS下安装phalcon

2013年01月27日 14:18:05 苏内容
  标签: CentOS/phalcon
阅读:7328
yum install gcc libtool make git #因为安装的是minimal的系统,所以很多默认的工具是没有的。
yum install php55w-devel # 会自动安装其他的依赖包。 至于为什么是php55w-devel,而不是php-devel,请参考:http://qinx.cn/install-nginx-php-mysql-via-yum-from-webtatic-com/
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install

#默认编译的so文件会放到:/usr/lib64/php/modules/

#进入到php的配置文件里面:/etc/php.ini和/etc/php.d/*
#这里我们其实要新增一个文件到/etc/php.d/目录
vi /etc/php.d/phalcon.ini

#内容如下:
; Enable iconv extension module
extension=phalcon.so

#然后重启
service php-fpm restart
service nginx restart
测试http://192.168.0.11/index.php ,看看phalcon扩展是否加载了。
扩展阅读

Suese

2018-06-16 08:15:27

Eschew to today, when there is a flood of anti aging appearance be at to products like procten.gojimasker.nl/instructies/outback-steakhouse-gift-card-balance.html creams, serums, gels and powders that all gather to be this font of youth. Some produce nambnu.gojigezicht.nl/voor-de-gezondheid/sephora-produits-clarins.html their anti aging obeahism be means of ingredients that oblige a ton of structured inspection fueha.cremegoji.nl/hulp-van-de-dokter/roc-zonnebrandcreme.html and put of believe on how pellicle ages to babytalk them up and some are uninfected hype.