Today, I decided to download wordpress and the first file that I have come across is wp-admin/install.php. the first thing in the file is this:

// Sanity check.
if ( false ) {
<!DOCTYPE html>
<html xmlns="">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Error: PHP is not running</title>
<body class="wp-core-ui">
    <p id="logo"><a href="">WordPress</a></p>
    <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>

Now I am kind of wondering, What is if( false ) ? and how does it mean that the user is not running php on their server?

Read more here: What does if(false) in php mean?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: