Skip to content

Commit

Permalink
Merge pull request heroku#244 from heroku/develop
Browse files Browse the repository at this point in the history
v125
  • Loading branch information
dzuelke authored Oct 4, 2017
2 parents ae36434 + fd79b52 commit 880d625
Show file tree
Hide file tree
Showing 43 changed files with 51 additions and 35 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# heroku-buildpack-php CHANGELOG

## v125 (2017-10-04)

### ADD

- PHP/7.0.24 [David Zuelke]
- PHP/7.1.10 [David Zuelke]
- ext-redis/3.1.4 [David Zuelke]
- ext-mongodb/1.3.0 [David Zuelke]
- ext-blackfire/1.18.0 [David Zuelke]

### CHG

- Composer/1.5.2 [David Zuelke]

## v124 (2017-09-07)

### FIX
Expand Down
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ fi
mkdir -p $build_dir/.heroku/php-min
ln -s $build_dir/.heroku/php-min /app/.heroku/php-min

curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/php-min.tar.gz "${s3_url}php-min-7.0.23.tar.gz" || error "Failed to download minimal PHP for bootstrapping.
curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/php-min.tar.gz "${s3_url}php-min-7.0.24.tar.gz" || error "Failed to download minimal PHP for bootstrapping.
Please try again, or contact support if this problem persists."
tar xzf $build_dir/.heroku/php-min.tar.gz -C $build_dir/.heroku/php-min
rm $build_dir/.heroku/php-min.tar.gz

curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/composer.tar.gz "${s3_url}composer-1.5.1.tar.gz" || error "Failed to download Composer. Please try again, or contact support if this problem persists."
curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/composer.tar.gz "${s3_url}composer-1.5.2.tar.gz" || error "Failed to download Composer. Please try again, or contact support if this problem persists."
tar xzf $build_dir/.heroku/composer.tar.gz -C $build_dir/.heroku/php
rm $build_dir/.heroku/composer.tar.gz

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-min-7.0.23
# Build Deps: php-min-7.0.24

source $(dirname $0)/composer
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20131226/amqp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/apcu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23, libraries/libcassandra-2.7.0
# Build Deps: php-7.0.24, libraries/libcassandra-2.7.0

source $(dirname $0)/../no-debug-non-zts-20121212/cassandra
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/ev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/event
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/imagick
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23, libraries/libmemcached-1.0.18
# Build Deps: php-7.0.24, libraries/libmemcached-1.0.18

source $(dirname $0)/../no-debug-non-zts-20121212/memcached
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/mongodb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/oauth
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/phalcon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23, extensions/no-debug-non-zts-20151012/raphf-2.0.0
# Build Deps: php-7.0.24, extensions/no-debug-non-zts-20151012/raphf-2.0.0

source $(dirname $0)/../no-debug-non-zts-20121212/pq
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/raphf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23, libraries/librdkafka-0.11.0
# Build Deps: php-7.0.24, libraries/librdkafka-0.11.0

source $(dirname $0)/../no-debug-non-zts-20121212/rdkafka
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.0.24

source $(dirname $0)/../no-debug-non-zts-20121212/redis
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20131226/amqp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20151012/apcu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9, libraries/libcassandra-2.7.0
# Build Deps: php-7.1.10, libraries/libcassandra-2.7.0

source $(dirname $0)/../no-debug-non-zts-20121212/cassandra
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/ev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/event
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/imagick
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9, libraries/libmemcached-1.0.18
# Build Deps: php-7.1.10, libraries/libmemcached-1.0.18

source $(dirname $0)/../no-debug-non-zts-20121212/memcached
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/mongodb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/oauth
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/phalcon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9, extensions/no-debug-non-zts-20160303/raphf-2.0.0
# Build Deps: php-7.1.10, extensions/no-debug-non-zts-20160303/raphf-2.0.0

source $(dirname $0)/../no-debug-non-zts-20121212/pq
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/raphf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.9, libraries/librdkafka-0.11.0
# Build Deps: php-7.1.10, libraries/librdkafka-0.11.0

source $(dirname $0)/../no-debug-non-zts-20121212/rdkafka
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.23
# Build Deps: php-7.1.10

source $(dirname $0)/../no-debug-non-zts-20121212/redis
10 changes: 6 additions & 4 deletions support/build/php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ if [[ "$missing" ]]; then
apt-get install -q -y $missing
fi

# look for GMP libs in /usr/lib/x86_64-linux-gnu and not /usr/lib
sed -i 's/$GMP_DIR\/$PHP_LIBDIR/$GMP_DIR\/$PHP_LIBDIR\/x86_64-linux-gnu/' configure
# symlink in gmp.h
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
if dpkg --compare-versions "$dep_version" "ge" 7.0.0 && dpkg --compare-versions "$dep_version" "lt" 7.0.16 || dpkg --compare-versions "$dep_version" "ge" 7.1.0 && dpkg --compare-versions "$dep_version" "lt" 7.1.2; then
# look for GMP libs in /usr/lib/x86_64-linux-gnu and not /usr/lib
sed -i 's/$GMP_DIR\/$PHP_LIBDIR/$GMP_DIR\/$PHP_LIBDIR\/x86_64-linux-gnu/' configure
# symlink in gmp.h
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
fi

# look for LDAP and SASL libs in /usr/lib/x86_64-linux-gnu and not /usr/lib
sed -i 's/LDAP_LIBDIR=$i\/$PHP_LIBDIR/LDAP_LIBDIR=$i\/$PHP_LIBDIR\/x86_64-linux-gnu/' configure
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 880d625

Please sign in to comment.