1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#!/bin/bash set -ex # change to grpc repo root cd $(dirname $0)/../.. export GRPC_DIR=`pwd` # make the libraries make -j shared_c # build php cd src/php cd ext/grpc phpize ./configure #cd ext/grpc make