I installed the grpc extension of php and can call it normally using the php command line directly
[root@localhost softEval]# php greeter_client.php
Hello world
But in the Thinkphp framework, I use the same method to call the extension function, prompt:
Class 'Grpc\ChannelCredentials' not found
Does anyone know how to call PHP extensions in the thinkphp framework?
Thank you!
It is still recommended to search on Baidu or take a look at the official documentation of tp.