My environment is: CentOS7.0 64bits+Nginx+PHP5.6.18
Installation flow:
# sudo yum install php-devel pcre-devel gcc make
# git clone --depth=1 git://github.com/phalcon/cphalcon
# cd cphalcon/build
# sudo ./install
then,
# vi /usr/local/php/etc/php.ini
insert one line : extension="/usr/lib64/php/modules/phalcon.so"
then, run the command:
# service php-fpm restart
got the results like below:
Gracefully shutting down php-fpm . done
Starting php-fpm [18-Mar-2016 08:58:01] NOTICE: PHP message: PHP Warning: PHP Startup: phalcon: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
done
I do not know the reason. Can anyone help me?