PX Forums demoYou are browsing as a visitor. Try it as: Member · Moderator · AdminOne click, no password. All changes are reset every night at 03:45 CET.
Skip to content

Installer stops at "Checking database connection"

Log in
Replies
7
Voices
7
Views
624
Last activity
Score 4
Kenji Watanabe Topic starter Expert488 karma40 posts · Joined Dec 2026

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.

Choose a reaction
Reply

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

Score 8
Priya Nair Expert878 karma62 posts · Joined Dec 2026
Solution

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.

Choose a reaction
Reply
  • Small addition: after changing this, clear the cache once.

    – Kenji Watanabe
  • Same here on Ubuntu 22.04. Installing php8.3-mysql solved it.

    – Diego Alvarez
Score 3
Omar Haddad Helper367 karma46 posts · Joined Dec 2026

Can you post a screenshot of the settings page? Hard to tell otherwise.

Choose a reaction
Reply
Score 2
Tomáš Novák Moderator697 karma44 posts · Joined Dec 2026

Worked for me, thanks @demo-kenji. I had been fighting this for two evenings.

Choose a reaction
Reply
Score 0
Omar Haddad Helper367 karma46 posts · Joined Dec 2026

Not sure it applies to your case, but the docs have a short page about this: Getting started.

Choose a reaction
Reply
Score 0
Yuki Tanaka Member375 karma45 posts · Joined Dec 2026

Same issue here on a cheap shared plan. The host had to enable an extension for me.

Choose a reaction
Reply
Score 0
Thomas Green Member170 karma31 posts · Joined Dec 2026

Did you try this on a fresh copy of the site? That would tell you whether it is the content or the setup.

Choose a reaction
Reply
Score 0
Lucas Meyer Expert852 karma57 posts · Joined Dec 2026

Have you looked at the error log? logs/error.log usually has the exact line.

Choose a reaction
Reply