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
This commit is contained in:
Andrew Nacin 2010-02-26 06:31:40 +00:00
parent e7fa18385a
commit 36da22d334
1 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,14 @@
* @subpackage Administration
*/
// Sanity check.
if ( false ) {
?>
<h1>Error: PHP is not running</h1>
<p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p><div style="display:none">
<?php
}
/**
* We are installing WordPress.
*