Last active
October 23, 2015 17:17
-
-
Save mlocher/18e4c35d219c06ecc1a9 to your computer and use it in GitHub Desktop.
Install Phalcon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script has been superseded by the version available at https://github.com/codeship/scripts/blob/master/packages/phalcon.sh