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
This commit is contained in:
nacin 2010-02-26 06:31:40 +00:00
parent a8e56e49ec
commit 64d5d9e55c
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.
*