How does Thinkphp call PHP extensions?
轻轻的
轻轻的 2018-07-10 10:24:48
0
1
1089

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!

轻轻的
轻轻的

reply all(1)
无忌哥哥

It is still recommended to search on Baidu or take a look at the official documentation of tp.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!