From 64d5d9e55c0e862fe8680670b7056451bf7bdd38 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 26 Feb 2010 06:31:40 +0000 Subject: [PATCH] Add a sanity check in install.php, accounting for whether PHP is running. fixes #11728 git-svn-id: http://svn.automattic.com/wordpress/trunk@13428 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wp-admin/install.php b/wp-admin/install.php index f139b135ba..a4e1ad682a 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -6,6 +6,14 @@ * @subpackage Administration */ +// Sanity check. +if ( false ) { +?> +

Error: PHP is not running

+

WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

+