-
Notifications
You must be signed in to change notification settings - Fork 1.6k
PHP 8.4 #767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
PHP 8.4 #767
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ec9fe54
Drop stray :focused tag for test
dzuelke 978bcbe
Drop unused PHP build formulae
dzuelke b7e2179
mini READMEs in conf dirs to explain purpose and lookup order
dzuelke 109966c
Drop unused PHP default configs
dzuelke 9c321e6
fix PHP-FPM trace type override during configure
dzuelke 82b6b4c
ext-blackfire/1.92.29
dzuelke 669ad77
ext-pcov/1.0.12
dzuelke c25650a
Composer/2.2.25
dzuelke 7ece0b1
PHP/8.4.1
dzuelke e44827d
PHP 8.4 compatibility for Composer platform package installer plugin
dzuelke d74a0bf
run CI using PHP 8.3
dzuelke 6a6b331
ensure trailing newline when printing Dev Center article markdown to …
dzuelke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.