We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

How to install Phalcon without Pecl.


I have been searching about 2 days that why I cant install the Phalcon framework to Ubuntu server. And then I found, Phalcon was being rejected from Pecl. Ok its not problem but I dont know how can I use PHP without Pecl? Im a beginner at server administrating, (im a develeoper). I can install and configure apache and php and what i want.

Please, can someone write a step by step manual about: How to install Phalcon framework to Ubuntu Server 13.10 (64 bit).



I install phalcon on ubuntu server 14.04 about 3 days ago. There is one missing package on installation guide (https://github.com/phalcon/website/commit/6f2f006881afb18d4372a88839661cb1a75079c8#diff-efa321fdb8d05818d15419a6b9300245).

First step - install these packages:

sudo apt-get install php5-dev php5-mysql gcc libpcre3-dev

And continue with orginal guide:


1 To create the extension from C source follow these steps:

git clone --depth=1 git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install

2 Add the extension to your php.ini:


3 Finally, restart the webserver

One more thing. Put extension=phalcon.so into /etc/php5/apache2/conf.d/30-phalcon.ini instead /etc/php5/apache2/php.ini