Skip to content

Commit 79c8543

Browse files
committed
fix(alpine): add php84 symlinks for standard command access
1 parent 5b73178 commit 79c8543

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build-alpine

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ install_deps() {
2424

2525
apk add php84 php84-dev curl git autoconf bison re2c pkgconf zlib-dev zstd-dev openssl-libs-static openssl-dev zlib-static zlib-dev gnu-libiconv-dev clang-dev llvm-dev
2626

27+
# Create symlinks for php84 to be accessible as php
28+
ln -sf /usr/bin/php84 /usr/bin/php
29+
ln -sf /usr/bin/php-config84 /usr/bin/php-config
30+
ln -sf /usr/bin/phpize84 /usr/bin/phpize
31+
2732
install_curl
2833

2934
install_libzip

0 commit comments

Comments
 (0)