Fatal error immediately after unpacking zip for install. Missing PHP extension?

Hi,

I’m on PHP 8.4.8 with Apache . Although the requirements page[1] lists extensions as recommended, I have ensured these are enabled:

php-curl php-gd php-cli mysql-server php-mysql php-xml php-mbstring

I get this error:

Fatal error: Uncaught Error: Class "Piwik\Url" not found in ~/web/matomo/core/testMinimumPhpVersion.php:174 Stack trace: #0 ~/web/matomo/core/testMinimumPhpVersion.php(232): Piwik_GetErrorMessagePage('<p><strong>Mato...', false, true) #1 ~/web/matomo/core/bootstrap.php(39): require_once('~/web...') #2 ~/web/matomo/index.php(19): require_once('~/web...') #3 {main} thrown in ~/web/matomo/core/testMinimumPhpVersion.php on line 174

Straight out of the box:

fetch https://builds.matomo.org/matomo.zip && unzip matomo.zip

Can you help me, please?

I found a thread about a somewhat-similar problem[2], which suggests an essential php extension might be missing.

If that’s true, can you publish the complete list of requirements to run the software?

Cheers!

This website won’t let me include links. So here are footnotes:
[1] matomo-org / faq / on-premise / matomo-requirements
[2] forum-matomo-org t fatal-error-matomo-latest-5-1-and-php8-3 59425