Skip to content
Draft
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions support/get_gmp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ if [ -n "$DEBUG" ]; then
set -x
fi

which m4 2> /dev/null || (apt-get update && apt-get install --yes m4)

# The variable is assigned in `buildpack.conf`
declare gmp_version
basedir="$( cd -P "$( dirname "$0" )" && pwd )"
Expand Down
4 changes: 3 additions & 1 deletion support/package_php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if [ -n "$DEBUG" ]; then
set -x
fi

apt-get update
apt-get install --yes pkg-config libxml2-dev libssl-dev libsqlite3-dev

basedir="$( cd -P "$( dirname "$0" )" && pwd )"
source "$basedir/../conf/buildpack.conf"
source "$basedir/lib/utils"
Expand All @@ -19,7 +22,6 @@ if [ -z "$1" ]; then
fi

php_version="$1"
php_series="$(echo $php_version | cut -d '.' -f1,2)"

echo "-----> Packaging PHP $php_version"

Expand Down