Last Updated: August 03, 2019
·
1.511K
· lgavinho

Shell script to install PHP Phalcon Framework

To install phalcon in a puppet script you can use this Linux script below.

Copy and name it install_phalcon.sh

#!/bin/bash
sudo su
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
./install
cd ..
cd ..
rm -rf cphalcon
echo 'extension=phalcon.so' > /etc/php5/conf.d/phalcon.ini
service apache2 restart

1 Response
Add your response

Will this work if I don't have root access to the server? I am using a PHP 7 hosting platform where servers are managed so I don't have the root access. My client wants to use Phalcon for his web app.

over 1 year ago ·