Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Getting Error in setting up Phalcon

I am trying to setup Phalcon extension with php5.6.10 - It gives some error related to compiler_globals :

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php-5.6.10/lib/php/extensions/no-debug-zts-20131226/' - /usr/local/php-5.6.10/lib/php/extensions/no-debug-zts-20131226/ undefined symbol: compiler_globals in Unknown on line 0

Have you compiled Phalcon in a different machine/php version than the one that is executing Phalcon?

Seems the extension is not found by your server configuration file php.ini

To debug,

Run phpinfo() function to see if the extension is well installed or comment out the line that calls the extension in your server configuration file.

Then based on your server environment follow the official documentation and find where you are not getting it right.


Got it. Phalcon was compiled with a different version of php. Got it right by changing enviroment vars. Thanks everybody.


How did you do that? (I'm Linux newbie)