• I got this message when I was trying to install wordpress onto my site…

    WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off

    I do know that PHP is installed on my host.

    Anyone able to help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • That is probably answered a lot easier by your hosting provider. Have you contacted them?

    Thread Starter emmz1990

    (@emmz1990)

    yeah, they said that PHP was turned on

    The opening lines of code in wp-admin/install.php

    if ( false ) {
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" >
    <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>Error: PHP is not running</title>
    </head>
    <body>
            <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1>
            <h2>Error: PHP is not running</h2>
            <p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
    </body>
    </html>
    <?php
    }

    Unless something is terribly wrong, then false will never be true, so if PHP is working for that page there is no way the text could be displayed.

    Thread Starter emmz1990

    (@emmz1990)

    All fixed!

    I used fantastico in the end.

    Thanks for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress requires that your web server is running PHP. Your server does not hav’ is closed to new replies.