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:
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.
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