Skip to content

Instantly share code, notes, and snippets.

@rastasheep
Last active August 29, 2015 14:15

Revisions

  1. rastasheep revised this gist Feb 11, 2015. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,3 @@ then
    fi

    tar xvf $SRC_FILE -C ~/.phpbrew/php/

    phpbrew switch php-5.2.17
  2. rastasheep created this gist Feb 11, 2015.
    13 changes: 13 additions & 0 deletions install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/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/

    phpbrew switch php-5.2.17