skip to Main Content

My goal is to connect my laravel project to firestore firebase. I will be needing the grpc in order to continue it. However my problem is the .dll cant be found. I already uploaded the .dll file in ext folder.
enter image description here

I also included it in my php.ini file.
enter image description here

still getting the same error
enter image description here

I dont know if its the version og php and grpc is conflicting.

After applying the comments’ suggestions:
enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    Since nice_dev pointed out it was a compatibilit issue. I downloaded the non thread x64 and used it. It worked. Been using the x84, maybe the reason why it's not working.


    • You need to mention extensions without php_ and .dll prefix and suffix like below:
     extension=fileinfo
     extension=grpc
    
    • Restart Apache server if required. You can also check for php version on the command line using php --version. If it shows the version without any warnings/errors, it means the extensions are loaded correctly.

    • Also, as the error message in your screenshot suggests, you need to install the right thread safe package of GRPC relevant to your operating system architecture and PHP version from https://pecl.php.net/package/grpc

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search