-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #767 from heroku/php84
PHP 8.4 GUS-W-17226361
- Loading branch information
Showing
67 changed files
with
254 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
These folders contain run-time configs for HTTPD, Nginx and PHP. | ||
|
||
The logic that finds these looks in the base directory first, and then traverses into sub-folders that represent specific version string parts. | ||
|
||
This allows sharing configs between version series, but also overriding (or adding) files for more specific versions, as they take precedence. | ||
|
||
For example, a general `php/php-fpm.conf` can be overridden for PHP 8.* by having a `php/8/php-fpm.conf`; a file that should only apply to PHP 7.3.* without overriding a "parent" could be put into `php/7/3/php-fpm.somepool.conf`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
These folders contain build-time configs for HTTPD and PHP. | ||
|
||
The logic that finds these looks in the base directory first, and then traverses into sub-folders that represent specific version string parts. | ||
|
||
This allows sharing configs between version series, but also overriding (or adding) files for more specific versions, as they take precedence. | ||
|
||
For example, a general `php/conf.d/000-heroku.ini` can be overridden for PHP 7.* by having a `php/7/conf.d/000-heroku.ini`; a file that should only apply to PHP 8.0.* without overriding a "parent" could be put into `php/8/0/conf.d/001-foobar.ini`. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Our builds of PHP use the recommended `php.ini-production` file from the respective release. | ||
|
||
These values are often different from the built-in default, and for a subset of settings, we want to override them. Examples include the default timezone (which is unset by default and in the recommended configs), errir reporting level (we want users to see deprecation warnings), or session ID length (which for legacy reasons defaults to 26 in the recommended development and production INI files, even though PHP's built-in default is 32). | ||
|
||
Doing this using a `conf.d` file allows our settings to apply even if users bring their own "full" `php.ini` (and we can just copy these in without having to track possible upstream INI changes). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/amqp-2.1.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/amqp |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/apcu-5.1.24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/apcu |
4 changes: 4 additions & 0 deletions
4
support/build/extensions/no-debug-non-zts-20240924/blackfire-1.92.29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/blackfire |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/ev |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/event-3.1.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/event |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/imagick-3.7.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/imagick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
|
||
dep_name=$(basename $BASH_SOURCE) | ||
|
||
# we need these libs already installed | ||
needed=( libc-client2007e libkrb5-3 libpam0g ) | ||
missing=$(comm -1 -3 <(dpkg-query -W -f '${package}\n' | sort) <(IFS=$'\n'; echo "${needed[*]}" | sort)) | ||
if [[ "$missing" ]]; then | ||
echo "Error! Missing libraries: $missing" | ||
exit 1 | ||
fi | ||
|
||
# we need the headers for compilation | ||
needed=( libc-client2007e-dev libkrb5-dev libpam0g-dev ) | ||
missing=$(comm -1 -3 <(dpkg-query -W -f '${package}\n' | sort) <(IFS=$'\n'; echo "${needed[*]}" | sort)) | ||
if [[ "$missing" ]]; then | ||
apt-get update -qq || { echo "Failed to 'apt-get update'. You must build this formula using Docker."; exit 1; } | ||
apt-get install -q -y $missing | ||
fi | ||
|
||
CONFIGURE_EXTRA="--with-imap-ssl --with-kerberos" | ||
|
||
source $(dirname $BASH_SOURCE)/../pecl |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/imap-1.0.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20240924/imap |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/memcached-3.3.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/memcached |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/mongodb-1.20.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/mongodb |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/oauth-2.0.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/oauth |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/pcov-1.0.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/pcov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.*, extensions/no-debug-non-zts-20240924/raphf-2.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/pq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/psr |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/raphf-2.0.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/raphf |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/rdkafka-6.0.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.*, libraries/librdkafka-* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/rdkafka |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/redis-6.1.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/redis |
5 changes: 5 additions & 0 deletions
5
support/build/extensions/no-debug-non-zts-20240924/uuid-1.2.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Build Path: /app/.heroku/php | ||
# Build Deps: php-8.4.* | ||
|
||
source $(dirname $0)/../no-debug-non-zts-20180731/uuid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ | |
'8.1', | ||
'8.2', | ||
'8.3', | ||
'8.4', | ||
]; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.