From 4157281a2d9910cfccedcd9b04d455884bf5623c Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Tue, 14 Dec 2004 09:27:14 +0000 Subject: [PATCH] Sanity check mysql. git-svn-id: https://develop.svn.wordpress.org/trunk@1955 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-settings.php b/wp-settings.php index 2bbba9d857..9c985a4696 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -16,6 +16,9 @@ if (! isset($_SERVER['REQUEST_URI'])) { if ( !(phpversion() >= '4.1') ) die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' ); +if ( !extension_loaded('mysql') ) + die( 'Your PHP installation appears to be missing the MySQL which is required for WordPress.' ); + function timer_start() { global $timestart; $mtime = explode(' ', microtime() );