Skip to content

Commit 6921a89

Browse files
committed
feat: set proper phpize and php-config alternatives
This will enable `pecl` to install per-version extensions. Signed-off-by: Maximilian Bösing <[email protected]>
1 parent 2ea7fe7 commit 6921a89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ if [[ "${COMMAND}" == "" ]];then
125125
fi
126126

127127
echo "Marking PHP ${PHP} as configured default"
128-
update-alternatives --set php /usr/bin/php${PHP}
128+
update-alternatives --quiet --set php /usr/bin/php${PHP}
129+
update-alternatives --quiet --set php-config /usr/bin/php-config${PHP}
130+
update-alternatives --quiet --set phpize /usr/bin/phpize${PHP}
129131

130132
# Is there a pre-install script available?
131133
if [ -x ".laminas-ci/pre-install.sh" ];then

0 commit comments

Comments
 (0)