Skip to content

Commit a86ccc2

Browse files
committed
Install php-grpc with apt instead of pecl
1 parent b840fda commit a86ccc2

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

extensions/core/grpc/install.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
#!/usr/bin/env bash
22

33
set -e
4-
export USE_PECL=1
5-
export DEV_DEPENDENCIES=zlib1g-dev
6-
7-
export PECL_EXTENSION=grpc
4+
export EXTENSION=grpc
85

96
../docker-install.sh
7+
8+
#if [[ "${TARGETARCH}" == "arm64" ]]; then
9+
# # Need few hours to compile onto arm64 arch
10+
# >&2 echo "php-grpc is not included with arm64 version (because build time is too long)"
11+
# exit 0;
12+
#fi
13+
#set -e
14+
#export USE_PECL=1
15+
#export DEV_DEPENDENCIES=zlib1g-dev
16+
#
17+
#export PECL_EXTENSION=grpc
18+
#
19+
#../docker-install.sh

0 commit comments

Comments
 (0)