diff options
author | ZhouyihaiDing <ddyihai@google.com> | 2017-09-11 16:11:46 -0700 |
---|---|---|
committer | ZhouyihaiDing <ddyihai@google.com> | 2017-09-14 11:08:28 -0700 |
commit | 1c87515f8da87dd96182dc3070029599b0a7165f (patch) | |
tree | 133474944b14e22429aa24d1e363b1ec4c370674 /src | |
parent | c7520d0d8f1c3833f9a1c04c953e272a120f31c4 (diff) |
add php extension
Diffstat (limited to 'src')
-rwxr-xr-x | src/ruby/qps/proxy-worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/qps/proxy-worker.rb b/src/ruby/qps/proxy-worker.rb index d7a9f114bd..488610ae74 100755 --- a/src/ruby/qps/proxy-worker.rb +++ b/src/ruby/qps/proxy-worker.rb @@ -41,7 +41,7 @@ class ProxyBenchmarkClientServiceImpl < Grpc::Testing::ProxyClientService::Servi @histogram = Histogram.new(@histres, @histmax) @start_time = Time.now # TODO(vjpai): Support multiple client channels by spawning off a PHP client per channel - command = "php " + File.expand_path(File.dirname(__FILE__)) + "/../../php/tests/qps/client.php " + @mytarget + command = "php -d extension=" + File.expand_path(File.dirname(__FILE__)) + "/../../php/ext/grpc/modules/grpc.so " + File.expand_path(File.dirname(__FILE__)) + "/../../php/tests/qps/client.php " + @mytarget puts "Starting command: " + command @php_pid = spawn(command) end |