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?



85.4k

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



2.8k

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 http://www.phalconphp.com/en/download



2.8k

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.



85.4k

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