We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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



14.8k
Accepted
answer

Found how to fix this issue here