Compile phalcon for php 5.5.x

Hello. After installing phalcon I got next error

php -m PHP Warning: PHP Startup: phalcon: Unable to initialize module Module compiled with module API=20100525 PHP compiled with module API=20121212 These options need to match

Is there any possibility to compile phalcon with appropriate module API?

Did you upgrade to php 5.5.x after you compiled Phalcon? Looks like you have to recompile Phalcon.

on which system you are?



1.2k

Yes. I had previously installed php 5.3.x with successfully compliled Phalcon. After updating php to 5.5.x I've got errors described above. It seems previous php version conflicts with the new one :( OS is Ubuntu 12.04.

BTH, I tried to install php 5.5.x and compile Phalcon on other PC with Ubuntu 13.10. All is well.

maybe with phpize? ( $ phpize -v)



6.0k

Did you clean your phalcon build before recompiling it against the newer php? zephir fullclean in the cphalcon module directory. You may be using old files to build the module from.