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

Can't install phalcon on raspberry pi 2

I've got a problem where i can't install phalcon on my raspberry. Any suggestions? Tried following the instructions on phalcons website, http://phalcon.io/en/download Both the Ubuntu one and the debian one, http://debrepo.frbit.com/

Looked at my php info and phalcon is no where to be found, any help is much appriciated!

Did you try compiling it?

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

Try to compile sourself.

git clone --depth=1 git://github.com/phalcon/cphalcon.git

cd cphalcon/build/32bits


./configure --with-php-config=/usr/bin/php-config --enable-phalcon


sudo make install

I cleaned the raspberry memory first, to obtain all of free ram possible, in my case get 420MB free to compile. Then, add the phalcon.so to a php.ini file. http://docs.phalcon.io/en/latest/reference/install.html#compilation

PD: I have the raspberry 1 Model B of 512MB of ram.

You should run it on RPI 2 / 3. They're much more powerful. I have them all. RPI 1 is barely usable for any hard tasks. For reading sensors etc. it's just great. But if you want to run app / web server with something like Phalcon, it's better to go for RPI 2 / 3 hardware.