I am installing on a fresh VPS. The wizard hangs at step 2 and the progress bar never moves. The details are correct; I can connect with the command line.
Installer stops at "Checking database connection"
Solution Go to post #4
Almost always a missing PHP extension. The installer swallows the error. Check which extensions are loaded:
php -m | grep -Ei "mysqli|pdo_mysql|mbstring|intl|json"
If mysqli or pdo_mysql is missing, install it (apt install php8.3-mysql), restart PHP-FPM and reload the wizard. Also make sure the database user is allowed to connect from localhost, not only from 127.0.0.1.
7 answers
Almost always a missing PHP extension. The installer swallows the error. Check which extensions are loaded:
php -m | grep -Ei "mysqli|pdo_mysql|mbstring|intl|json"
If mysqli or pdo_mysql is missing, install it (apt install php8.3-mysql), restart PHP-FPM and reload the wizard. Also make sure the database user is allowed to connect from localhost, not only from 127.0.0.1.
Can you post a screenshot of the settings page? Hard to tell otherwise.
Worked for me, thanks @demo-kenji. I had been fighting this for two evenings.
Not sure it applies to your case, but the docs have a short page about this: Getting started.
Same issue here on a cheap shared plan. The host had to enable an extension for me.
Did you try this on a fresh copy of the site? That would tell you whether it is the content or the setup.
Have you looked at the error log? logs/error.log usually has the exact line.
Small addition: after changing this, clear the cache once.
Same here on Ubuntu 22.04. Installing
php8.3-mysqlsolved it.