We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 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, https://phalcon.io/en/download Both the Ubuntu one and the debian one, https://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

phpize

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

make

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. https://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.