Last active
August 29, 2015 14:15
-
-
Save rastasheep/c5aedd58c7af39a38b2d to your computer and use it in GitHub Desktop.
Install precompiled PHP 5.2.17 on Semaphore
This file contains 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 | |
set -e | |
SRC_FILE="$SEMAPHORE_CACHE_DIR/php-5.2.17.tar.gz" | |
if [ ! -f "$SRC_FILE" ] | |
then | |
wget https://s3-us-west-2.amazonaws.com/container-libraries/languages/php/php-5.2.17.tar.gz -O $SRC_FILE | |
fi | |
tar xvf $SRC_FILE -C ~/.phpbrew/php/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment