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

installation errror: undefined symbol: zend_new_interned_string

here's the apache error log: PHP Warning: PHP Startup: Unable to load dynamic library '/var/lib/phalcon.so' - /var/lib/phalcon.so: undefined symbol: zend_new_interned_string in Unknown on line 0

any solutions?



98.9k

It seems Phalcon was compiled for a wrong version of PHP to the one you're running Phalcon for.



5.2k

thanks for the promt reply. I compiled it again. and here's a new error:

PHP Warning: PHP Startup: Unable to load dynamic library '/var/lib/phalcon.so' - /var/lib/phalcon.so: undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0

i followed the instructions on https://www.phalcon.io/en/download



5.2k

are there any already compiled versions to download?

It seems Phalcon was compiled for a wrong version of PHP to the one you're running Phalcon for.



98.9k

We don't release compiled versions for Linux/Mac, to fix it you have to load PDO before Phalcon.