Skip to content

Instantly share code, notes, and snippets.

@mlocher
Last active October 23, 2015 17:17
Show Gist options
  • Save mlocher/18e4c35d219c06ecc1a9 to your computer and use it in GitHub Desktop.
Save mlocher/18e4c35d219c06ecc1a9 to your computer and use it in GitHub Desktop.
Install Phalcon
#!/bin/bash
PHP_VERSION="5.6"
PHALCON_VERSION="1.3.2"
PWD=`pwd`
cd ~
rm -rf ~/cphalcon
phpenv global $PHP_VERSION
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon
git checkout "phalcon-v${PHALCON_VERSION}"
cd build
./install
echo "extension=phalcon.so" >> ~/.phpenv/versions/${PHP_VERSION}/etc/php.ini
cd $PWD
@mlocher
Copy link
Author

mlocher commented Oct 23, 2015

This script has been superseded by the version available at https://github.com/codeship/scripts/blob/master/packages/phalcon.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment