You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also note that the ext-gmp requirement is only checked during the execution of the composer CLI which means only the PHP CLI's extensions are checked. If you are running multiple PHP versions and e.g. use php-fpm with a different PHP version for development purposes, you need to ensure that the extension is installed for that PHP version as well.
Hi, today I installed the
rlanvin/php-ip
package via composer. Alongside that I also added the 'ext-gmp' to my composer.json:I added a call to the
IPBlock
like this:$block = IPBlock::create($subnet->network.'/'.$subnetPrefix);
but upon running I get this error message:Is there anyone who knows what I've done wrong, or if this is just a bug in the package?
The text was updated successfully, but these errors were encountered: