Description
Operating system: CentOS7
PHP installation directory:/usr/local/php
PHP.ini configuration file path:/usr/local/php/etc/php.ini
Operating environment: LNMP, PHP7
1, installation CPHALCONCD/usr/local/srcgit clone git://github.com/phalcon/cphalcon.git #需要安装安装git软件包yum Install gitcd/usr/local/src/cphalcon/build/php7/64bits #选择相应的php版本目录/usr/local/php/bin/phpize./configure--with-php-config=/usr/local/php/bin/php-Configmakemake Install2, configuring PHP support Cphalconvi/usr/local/php/etc/php.ini #编辑配置文件, add the following on the last line add extension=Phalcon.so:wq!#保存退出3, restart php-fpmservice PHP-FPM Restart on the Phpinfo page you can see the options for Cphalcon, indicating that the installation was successful.
or use
php-m | grep Phalcon
Phalcon #加载成功 At this point, the PHP installation cphalcon extension tutorial for Linux is complete.
Http://www.jb51.net/article/105338.htm
Https://github.com/phalcon/cphalcon
http://blog.csdn.net/qq_14997169/article/details/52282691
How to install Cphalcon Extensions for PHP under Linux centos7