PhalconPHP not working in Ubuntu 64bit

I try to install PhalconPHP on Ubuntu 64bit Nginx server. phpinfo() showing phalcon is loaded with php but when I try to run phalcon create-project test will return the following

ERROR: Phalcon extension isn't installed, follow these instructions to install it:

I follow the instructions from Phalcon website and reply in Phalcon forum.


Check where the php.ini is and add to that file:

php -i | grep Loaded


Here is the output

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/' - /usr/lib/php5/20131226/ undefined symbol: php_json_decode_ex in Unknown on line 0

Loaded Configuration File => /etc/php5/cli/php.ini

libXML Loaded Version => 20901 is already added to /etc/php5/cli/php.ini

sudo nano /etc/php5/apache2/conf.d/30-phalcon.ini

Add '' to the file

Did you did that? (BTW Phalcon, I don't have added the extension in others INIs, just the before one).


Already done. The problem is php is Unable to load dynamic library '/usr/lib/php5/20131226/'

A quick Google search found:

See if the comments in that help you.


That may be caused because of:

  • Json extension is not being loaded before Phalcon
  • Json extension is not installed



First try to debug the problem - Try a different version of PHP ( 5.4, 5.5. 5.5.14 etc ) and determine if it is PHP specific related problem. Next, check your php.ini and check if the extensions are loaded and extension directory is set. Lastly, do create a phpinfo page or from command line run php -m and check if the extensions are loaded successfully.

I hope this helps.