storj-thirdparty / uplink-php

Uplink library bindings for PHP
MIT License
34 stars 6 forks source link

Issue while setting up composer on windows #41

Closed nehakjain2005 closed 2 years ago

nehakjain2005 commented 2 years ago

While setting up this library on windows I am getting issue. I already have php_ffi.dll and php 7.4.26 version. Still it says its missing. Please help

- Root composer.json requires storj/uplink ^1.3 -> satisfiable by storj/uplink[1.3.0].
- storj/uplink 1.3.0 requires ext-ffi * -> it is missing from your system. Install or enable PHP's ffi extension.
Erikvv commented 2 years ago

Did you enable the extension in php.ini?

extension=ffi
nehakjain2005 commented 2 years ago

yes I have done that

Erikvv commented 2 years ago

I tested with PHP 7.4.26 on Windows and it works.

Probably you have something wrong in your php config.

Some ideas to help diagnose the issue:

Erikvv commented 2 years ago

I close this issue because I don't see how I can improve this. There are many ways to install and configure PHP, I can't address every OS and method. Suggestions welcome though. I hope you get it fixed up.