Skip to content

Instantly share code, notes, and snippets.

@rastasheep
Last active August 29, 2015 14:15
Show Gist options
  • Save rastasheep/c5aedd58c7af39a38b2d to your computer and use it in GitHub Desktop.
Save rastasheep/c5aedd58c7af39a38b2d to your computer and use it in GitHub Desktop.
Install precompiled PHP 5.2.17 on Semaphore
#!/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