Skip to content

[Bug] no able to run app-php  #8

@antmendoza

Description

@antmendoza

What are you really trying to do?

I am trying to run the code following the README.md file and when I run php app.php simple I face the following error on my console

Stack trace:
#0 /temporal/temporal-polyglot/app-php/app.php(28): Temporal\Client\GRPC\BaseClient::create('localhost:7233')
#1 {main}
  thrown in /temporal/temporal-polyglot/app-php/vendor/temporal/sdk/src/Client/GRPC/BaseClient.php on line 57

Fatal error: Uncaught Error: Class "Grpc\ChannelCredentials" not found in /temporal/temporal-polyglot/app-php/vendor/temporal/sdk/src/Client/GRPC/BaseClient.php:57
Stack trace:
#0 /temporal/temporal-polyglot/app-php/app.php(28): Temporal\Client\GRPC\BaseClient::create('localhost:7233')
#1 {main}
  thrown in /temporal/temporal-polyglot/app-php/vendor/temporal/sdk/src/Client/GRPC/BaseClient.php on line 57

Describe the bug

Minimal Reproduction

Environment/Versions

  • OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
  • Temporal Version: [e.g. 1.14.0?] and/or SDK version
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions