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

I cannot load the extension after update

Hi, i updated the php installed into a running server and now the Phalcon module cannot be loaded. It is in the config files as before, but is not being loaded for the PHP-FPM.

Also I tried recompiling again the module but is not working.

The versions I'm working with are, PHP 5.6 and Phalcon 1.3.4


Also I found the next, I guess that the configuration version to compile is another than the one in the CLI and FPM. I found this: php-config --extension-dir [/usr/lib/php/extensions/no-debug-zts-20131226] --include-dir [/usr/include/php] --man-dir [/usr/php/man] --php-binary [/usr/bin/php] --php-sapis [ cli cgi] --configure-options [--prefix=/usr --with-config-file-path=/etc --enable-maintainer-zts] --version [5.6.23-dev] --vernum [50623]

And the one I'm using is different. CLI: PHP 5.6.21-9+donate.sury.org~trusty+1 (cli), and the extension_dir /usr/lib/php5/20131226

How can I fix the values obtained by php-config??


if you are running ubuntu you can check

ll /etc/alternatives | grep "php-config"
edited May '16

I'm not sure that deprecated Phalcon 1.3.x can work on PHP 5.6.x.

Apart from that, check existance of actual Phalcon shared object binary: file /usr/lib/php5/20131226/phalcon.so