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:
parent
a8e56e49ec
commit
64d5d9e55c
|
@ -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