How to install Cphalcon Extensions for PHP under Linux centos7

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.