Python Server and PHP Client Issue

19 views
Skip to first unread message

Muhammad Iqbal

unread,
Jul 19, 2018, 2:57:53 PM7/19/18
to grpc.io
Hi,

I am new to GRPC, I have implemented GRPC server and client in python and my app is working fine. Now I want to use same python server and PHP client.

I have some issues regarding PHP.

1 - if I use  sudo pecl install grpc there is make error

2 - What if I install grpc core run time which is implemented in C Language, it will work on all languages ?

3 - there is error while generating php client files that is protoc-gen-php is missing

sorry for my poor english

Regards,
Iqbal

Stanley Cheung

unread,
Jul 20, 2018, 4:42:35 PM7/20/18
to rox...@gmail.com, grpc.io
1. What is the error to "sudo pecl install grpc" that you receive? What platform are you using? Please perhaps consider logging a Github issue if you have the error output, and any other relevant details.

2. Each language based on the C implementation (e.g. Python, Ruby, C#, Node, PHP) tend to have additional language-specific packages wrapping the gRPC core run time. For Go, Java they have separate implementations.

3. Please see https://grpc.io/docs/tutorials/basic/php.html to see how you can run the PHP protoc plugin.

--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/3851a78d-70d6-4f78-b2c6-732ab181c14c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages