Unable to load dynamic library 'php_grpc.dll'
P粉818125805
P粉818125805 2024-01-16 11:35:40
0
2
369

My goal is to connect my laravel project to firestore firebase. I will need grpc to proceed with it. But my problem is that the .dll is not found. I have uploaded the .dll file into the ext folder.

I also included it in my php.ini file.

The same error still occurs

I don’t know if the versions of php and grpc conflict.

After applying the suggestions from the comments:

P粉818125805
P粉818125805

reply all(2)
P粉056618053

As nice_dev pointed out this is a compatibility issue. I downloaded non-threaded x64 and used it. efficient. Been using x84, maybe that's why it doesn't work.

P粉806834059
  • You need to mention the extension without the php_ and .dll prefix and suffix like this:
  • Restart the Apache server if necessary. You can also check the php version on the command line using php --version. If it shows the version without any warnings/errors, it means the extension is loaded correctly.

  • Additionally, as the error message in the screenshot indicates, you need to install the correct GRPC thread-safety package relevant to your OS architecture and PHP version https://pecl.php.net /package/grpc

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!