Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing SDK in Docker container, even with gmp support enabled #1

Open
proofoftom opened this issue Jun 1, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@proofoftom
Copy link

PHP Version: 7.2.17

Was only able to get gmp installed via: laradock/laradock#652 (comment)

During composer install

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for arweave/arweave-sdk 0.2.0 -> satisfiable by arweave/arweave-sdk[v0.2.0].
    - arweave/arweave-sdk v0.2.0 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.

$ php -i | grep gmp
/usr/local/etc/php/conf.d/docker-php-ext-gmp.ini,
gmp
gmp support => enabled
@proofoftom
Copy link
Author

proofoftom commented Jun 3, 2019

Furthermore this makes deploying to a demo server very time consuming infeasible, I can imagine this being a barrier for others as well. Is there any alternative to this module that I might be able to help implement for the sake of getting this Gitcoin bounty over the finish line: ArweaveTeam/Bounties#1 (comment)

@proofoftom proofoftom changed the title Unable to install SDK in Docker container w/ gmp enabled Error installing SDK in Docker container, even with gmp support enabled Jun 5, 2019
@proofoftom
Copy link
Author

From my initial research it looks like bcmath is widely supported and is suitable for many of the same tasks as gmp, any thoughts here...?

@arweave-kyle arweave-kyle added the help wanted Extra attention is needed label Jun 5, 2019
@proofoftom
Copy link
Author

From Discord: it looks like switching out the JWT/K package with https://github.com/fproject/php-jwt is potentially the best way forward, with RSA-PSS support being questionable and needing testing

@Mayzz03
Copy link

Mayzz03 commented Mar 22, 2022

I had the same issue while gmp was installed. Switching to PHP 7.4 solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants