Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 668 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 668 Bytes

run php grpc client

  • install php7 in mac OS X by homebrew: brew install php@7.1
  • install peal on Mac OS X
  • install composer on Mac OS X
  • install grpc extention for php: sudo pecl install grpc
    • this will result extension="grpc.so" in /usr/local/etc/php/7.1/php.ini
  • install protobuf by homebrew: brew install protobuf
  • use composer to download dependencies make install
  • generate grpc php stub: make gen_grpc_php
  • run the client, make sure the grpc server is running locally make run_greeter_client