We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

CentOS 7.1 x64 on DigitalOcean

I'm getting this error " PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/phalcon.so' - /usr/lib64/php/modules/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0". I did everything in the installation guide, after reading a few post I found a method which is using zzzzz.izi to call the extension file as a fix but It didn't work for me.



43.9k

Hi,

that problem is not related to phalcon compilation but is due to the fact that phalcon.so php extension should be loaded after all your databases drivers.