diff --git a/tools/gce/linux_performance_worker_init.sh b/tools/gce/linux_performance_worker_init.sh index 210bbbd3a26..88d8de74028 100755 --- a/tools/gce/linux_performance_worker_init.sh +++ b/tools/gce/linux_performance_worker_init.sh @@ -129,7 +129,6 @@ ruby -v gem install bundler # PHP dependencies - sudo apt-get install -y php php-dev phpunit php-pear unzip zlib1g-dev curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer diff --git a/tools/run_tests/performance/run_worker_php.sh b/tools/run_tests/performance/run_worker_php.sh index ebedae8795d..15cee151f88 100755 --- a/tools/run_tests/performance/run_worker_php.sh +++ b/tools/run_tests/performance/run_worker_php.sh @@ -36,9 +36,7 @@ repo=$(dirname $0)/../../.. # First set up all dependences needed for PHP QPS test cd $repo cd src/php/tests/qps -curl -sS https://getcomposer.org/installer | php -php composer.phar install - +composer install # The proxy worker for PHP is implemented in Ruby -cd $repo -ruby src/ruby/qps/proxy-worker.rb $@ +cd ../../../.. +ruby src/ruby/qps/proxy-worker.rb $@ \ No newline at end of file