Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions install_php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ apt-get install -y \
# Create directory to be used as an installation target
mkdir /usr/local/php-$version

git clone https://github.com/php/php-src.git
git clone --single-branch --branch "PHP-$version" --depth 1 https://github.com/php/php-src.git
cd php-src
# Exit if non-existing PHP version is supplied
git checkout PHP-$version || { echo "PHP version $version not found!" ; exit 1; }

./buildconf --force

CONFIGURE_STRINGS="--enable-bcmath \
Expand Down