We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5cabdc commit 4969c08Copy full SHA for 4969c08
Dockerfile
@@ -21,12 +21,11 @@ RUN git clone --depth 1 https://github.com/grpc/grpc.git . \
21
&& cmake ../.. -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF \
22
&& make -j$(nproc) \
23
&& make install \
24
- # Build the PHP Extension
+ # Build the PHP Extension, providing the path to the C++ core libs
25
&& cd ../../src/php/ext/grpc \
26
&& phpize \
27
- && ./configure \
+ && ./configure --with-grpc=/usr/local \
28
29
- # We do NOT need 'make install' here, we just need the compiled .so file
30
&& cp modules/grpc.so /tmp/grpc.so
31
32
FROM php:8.5-cli
0 commit comments