PHP-GMP-001

optional

PHP gmp extension (WebAuthn)

Joomla 4+ WebAuthn/passkeys need GMP. Upgrades fail or MFA breaks without it.

optionalEnable ext-gmp on PHP 8.1+

Dies at Joomla 3 → 4J3: Works nativelyJ4: Changed behaviourJ6: Changed behaviourBC plugin: not applicableArchitecture change — no auto-fixPHP

What you will see

  • Class "GMP" not found
  • gmp_init()

Symptoms people search

passkey error · webauthn · gmp

Replace this code

Swap optional for Enable ext-gmp on PHP 8.1+.

Joomla 3

Remove or stop calling this

// Joomla 3 sites often omitted gmp

Joomla 4 / 6

Use this instead

php.ini: extension=gmp  (required for passkeys / WebAuthn on many J4+ hosts)

How to fix it

  1. 1Enable gmp (and sodium/openssl).
  2. 2Confirm with phpinfo on staging.

Also known as

gmp · WebAuthn · passkeys

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.