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
Written by Luiz Gustavo Gavinho
Related protips
1 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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#