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

Unable to load dynamic library '/usr/lib64/php/5.6/modules/phalcon.so

-Working under Amazon linux Virtual server.

-Compiled phalcon successfully.

-Added extension to php.ini and getting this error:

$ php -i | grep extension_dir
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/5.6/modules/phalcon.so' -
/usr/lib64/php/5.6/modules/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0

Please advise! Thanx


Found how to fix this issue here