"Ensuring Your Web Presence Contributes"

Phalcon Ubuntu 14.04 - install extension

admin's picture
Posted by admin on Thu 01 May 2014

Had a bit of trouble getting phalcon to appear in phpinfo() on Ubuntu 14.04 nginx and php-fpm. The compile and ./install put phalcon.so in /usr/lib/php5/20121212+lfs which is fine.

In /etc/php5/mods-available create phalcon.ini containing this:-

; configuration for php phalcon module
; priority=30

Then in /etc/php5/fpm/conf.d put a symlink to this file, sudo ln -s ../../mods-available/phalcon.ini 30-phalcon.ini

Restart php-fpm and nginx and you should see phalcon in your phpinfo().

Phalconeye requires the mcrypt extension. I had to also put a symlink in /etc/php5/fpm/conf.d sudo ln -s ../../mods-available/mcrypt.ini 20-mcrypt.ini after sudo apt-get install php5-mcrypt.