File tree Expand file tree Collapse file tree 5 files changed +9
-7
lines changed
php/build/extensions/xdebug Expand file tree Collapse file tree 5 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 12
12
build :
13
13
strategy :
14
14
matrix :
15
- php : [ 7.4.33, 8.0.26, 8.1.13 ]
15
+ php : [ 7.4.33, 8.0.26, 8.1.13, 8.2.0 ]
16
16
runs-on : ubuntu-latest
17
17
steps :
18
18
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ similar mechanism in Kubernetes or your actual platform.
68
68
| Variable Name | Type | Default | Description |
69
69
| ----------------------- | ------- | -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
70
70
| PHP_BASE_PATH | string | /opt/flownative/php | Base path for PHP (read-only) |
71
- | PHP_DATE_TIMEZONE | string | | Default timezone ([ doc] ( https://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone ) ) |
71
+ | PHP_DATE_TIMEZONE | string | UTC | Default timezone ([ doc] ( https://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone ) ) |
72
72
| PHP_ERROR_REPORTING | string | 2147483647 | PHP error reporting log levels ([ doc] ( https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting ) ) |
73
73
| PHP_DISPLAY_ERRORS | string | off | Display PHP errors ([ doc] ( https://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors ) ) |
74
74
| PHP_ERROR_LOG | string | /dev/stderr | Path leading to the file where PHP errors should be logged |
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ build_compile_php() {
177
177
--with-bz2 \
178
178
--without-pear \
179
179
> $( debug_device)
180
- elif [[ " ${PHP_VERSION} " =~ ^8.[0-1 ] ]]; then
180
+ elif [[ " ${PHP_VERSION} " =~ ^8.[0-2 ] ]]; then
181
181
./configure \
182
182
--prefix=${PHP_BASE_PATH} \
183
183
--with-config-file-path=" ${PHP_BASE_PATH} /etc" \
@@ -211,7 +211,7 @@ build_compile_php() {
211
211
--without-pear \
212
212
> $( debug_device)
213
213
else
214
- error " 🛠 Unsupported PHP version ${PHP_VERSION} "
214
+ error " 🛠 No configure call available for PHP version ${PHP_VERSION} "
215
215
exit 1
216
216
fi
217
217
@@ -430,7 +430,7 @@ case $1 in
430
430
init)
431
431
banner_flownative ' PHP'
432
432
433
- if [[ ! " ${PHP_VERSION} " =~ ^7.[1-4]| ^8.[0-1 ] ]]; then
433
+ if [[ ! " ${PHP_VERSION} " =~ ^7.[1-4]| ^8.[0-2 ] ]]; then
434
434
error " 🛠 Unsupported PHP version '${PHP_VERSION} '"
435
435
exit 1
436
436
fi
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export PHP_TMP_PATH="${PHP_TMP_PATH:-${PHP_BASE_PATH}/tmp}"
27
27
export PHP_LOG_PATH="${PHP_LOG_PATH:-${PHP_BASE_PATH}/log}"
28
28
29
29
export PHP_MEMORY_LIMIT="${PHP_MEMORY_LIMIT:-750M}"
30
- export PHP_DATE_TIMEZONE="${PHP_DATE_TIMEZONE:-}"
30
+ export PHP_DATE_TIMEZONE="${PHP_DATE_TIMEZONE:-UTC }"
31
31
export PHP_DISPLAY_ERRORS="${PHP_DISPLAY_ERRORS:-off}"
32
32
export PHP_ERROR_REPORTING="${PHP_ERROR_REPORTING:-2147483647}"
33
33
export PHP_ERROR_LOG="${PHP_ERROR_LOG:-/dev/stderr}"
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ extensions_xdebug_runtime_packages() {
38
38
# @return string
39
39
#
40
40
extensions_xdebug_url () {
41
- if [[ " ${PHP_VERSION} " =~ ^8 ]]; then
41
+ if [[ " ${PHP_VERSION} " =~ ^8.2 ]]; then
42
+ echo " https://xdebug.org/files/xdebug-3.2.0.tgz"
43
+ elif [[ " ${PHP_VERSION} " =~ ^8 ]]; then
42
44
echo " https://xdebug.org/files/xdebug-3.1.6.tgz"
43
45
else
44
46
echo " https://xdebug.org/files/xdebug-2.9.8.tgz"
You can’t perform that action at this time.
0 commit comments