Skip to content

Commit 57d7e01

Browse files
committed
Install phpdbg and alias it to correct version in the ENTRYPOINT script
This allows usage of the built-in PHP debugger, without the need to install larger third-party extensions. This is a requirement for laminas/laminas-ci-matrix-action#70
1 parent a875f9e commit 57d7e01

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ echo "Marking PHP ${PHP} as configured default"
137137
update-alternatives --quiet --set php "/usr/bin/php${PHP}"
138138
update-alternatives --quiet --set php-config "/usr/bin/php-config${PHP}"
139139
update-alternatives --quiet --set phpize "/usr/bin/phpize${PHP}"
140+
update-alternatives --quiet --set phpdbg "/usr/bin/phpdbg${PHP}"
140141

141142
checkout
142143

setup/php/5.6/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php5.6-intl
77
php5.6-json
88
php5.6-mbstring
99
php5.6-phar
10+
php5.6-phpdbg
1011
php5.6-readline
1112
php5.6-sockets
1213
php5.6-xml

setup/php/7.0/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php7.0-intl
77
php7.0-json
88
php7.0-mbstring
99
php7.0-phar
10+
php7.0-phpdbg
1011
php7.0-readline
1112
php7.0-sockets
1213
php7.0-xml

setup/php/7.1/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php7.1-intl
77
php7.1-json
88
php7.1-mbstring
99
php7.1-phar
10+
php7.1-phpdbg
1011
php7.1-readline
1112
php7.1-sockets
1213
php7.1-xml

setup/php/7.2/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php7.2-intl
77
php7.2-json
88
php7.2-mbstring
99
php7.2-phar
10+
php7.2-phpdbg
1011
php7.2-readline
1112
php7.2-sockets
1213
php7.2-xml

setup/php/7.3/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php7.3-intl
77
php7.3-json
88
php7.3-mbstring
99
php7.3-phar
10+
php7.3-phpdbg
1011
php7.3-readline
1112
php7.3-sockets
1213
php7.3-xml

setup/php/7.4/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ php7.4-intl
77
php7.4-json
88
php7.4-mbstring
99
php7.4-phar
10+
php7.4-phpdbg
1011
php7.4-readline
1112
php7.4-sockets
1213
php7.4-xml

setup/php/8.0/dependencies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ php8.0-fileinfo
66
php8.0-intl
77
php8.0-mbstring
88
php8.0-phar
9+
php8.0-phpdbg
910
php8.0-readline
1011
php8.0-sockets
1112
php8.0-xml

0 commit comments

Comments
 (0)