From 36da22d33483fae4082e82dbffaf978b89367a96 Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@13428 602fd350-edb4-49c9-b593-d223f7449a82 --- 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.

+