Programming Languages

Why is MySQL support missing from the PHP installation?

PHP 7+ removed the mysql extension — use mysqli or PDO_MySQL instead.

1 min read Updated 11 Apr 2026 Guide 4 of 6
On this page 2 sections
  1. Key Points
  2. Solutions

Mandraled's web servers run PHP 7+ by default, which no longer includes the MySQL module. Instead, this version uses the 'mysqli' or 'PDO_MySQL' extension.

Key Points

  • The MySQL extension was deprecated and removed in PHP 7+
  • PHP's official documentation explains this change

Solutions

  1. Update your code — migrate existing websites to use the newer mysqli or PDO_MySQL modules
  2. Use legacy PHP versions — switch to PHP 5.3, 5.4, 5.5, or 5.6 through the control panel's "Switch PHP Version" feature

Did this solve your problem?

Brilliant — glad that sorted it.

Sorry about that — let's get you a proper answer.

Still stuck?

Talk to a real human.

Our Thoothukudi team answers hosting, domain and email questions themselves — no bots, no scripts.