To install Phalcon on your SSD cloud server or affordable managed VPS simply login to the server as a root administrator and execute the commands below.
cd /usr/src/
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
./install
Copy the extension to the PHP’s extension directory.
cp -a php5/64bits/modules/phalcon.so /opt/cpanel/ea-php54/root/usr/lib64/php/modules/
cp -a php5/64bits/modules/phalcon.so /opt/cpanel/ea-php55/root/usr/lib64/php/modules/
cp -a php5/64bits/modules/phalcon.so /opt/cpanel/ea-php56/root/usr/lib64/php/modules/
Then log in to WHM and click on MultiPHP INI Editor. Switch to the Editor mode and select the needed PHP version. At the bottom of the file add the following.
extension=phalcon.so
That’s it!
Naturally, the ScalaHosting support team will be glad to install Phalcon for you completely free of charge if you do not feel you can do it yourself.