We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

How to install Phalcon without Pecl.

Hi!

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).

Thanks!

Hi,

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:

Compilation

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:

extension=phalcon.so

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