Sanity check mysql.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ecdec8f8e3
commit
0d040b307f
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue