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:
parent
e7fa18385a
commit
36da22d334
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user