We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

phalcon: Unable to initialize module

my PHP Version is 5.6.6 on Centos 6 x64 . And I install phalcon as the tutial. Other params are

PHP API 20131106 PHP Extension 20131226 Zend Extension 220131226 Zend Extension Build API220131226,NTS PHP Extension Build API20131226,NTS

while the installtation . there is no errors. but when I add the file phalcon.co and restart my php-fpm, the warnings are blow.

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

what should I do .Thank you.

edited Mar '15

https://www.mydf.net/post/33/#comment-822 solved my problem

unzip cphalcon-master.zip cd cphalcon-master/build/64bits make clean phpize --clean /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config make && make install


You can close discussion if it slove :)