Merge pull request #1587 from stanley-cheung/fix_php56_ext_location

Fix PHP 5.6 ext location
pull/1592/head
Tim Emiola 10 years ago
commit e02c148271
  1. 2
      src/php/bin/interop_client.sh
  2. 2
      src/php/bin/run_tests.sh

@ -32,7 +32,7 @@
set +e
cd $(dirname $0)
module_dir=`php --version | grep -q 'PHP 5.6' && echo '../ext/grpc' || echo '../ext/grpc/modules'`
module_dir=../ext/grpc/modules
php -d extension_dir=$module_dir -d extension=grpc.so \
../tests/interop/interop_client.php $@ 1>&2

@ -34,7 +34,7 @@ set -e
cd $(dirname $0)
default_extension_dir=`php -i | grep extension_dir | sed 's/.*=> //g'`
module_dir=`php --version | grep -q 'PHP 5.6' && echo '../ext/grpc' || echo '../ext/grpc/modules'`
module_dir=../ext/grpc/modules
# sym-link in system supplied extensions
for f in $default_extension_dir/*.so

Loading…
Cancel
Save