function wp_check_php_mysql_versions() { global $required_php_version,
$wp_version;
$php_version = PHP_VERSION;
if ( version_compare( $required_php_version,
$php_version, '>'
) ) { $protocol =
wp_get_server_protocol();
header( sprintf( '%s 500 Internal Server Error',
$protocol ), true, 500
);
header( 'Content-Type: text/html; charset=utf-8'
);
printf( 'Your server is running PHP version %1$s but WordPress %2$s requires at least %3$s.',
$php_version,
$wp_version,
$required_php_version );
exit( 1
);
}