• Resolved elaineko

    (@elaineko)


    Hi,
    I am installing a brand new WordPress installation. I?ve followed all the steps in the instructions. But when I get to running install.php, I get the empty white screen. I put a couple of echo statements in install.php, and it looks like it?s failing right away here:
    /** Load WordPress Bootstrap */
    require_once( dirname( dirname( __FILE__ ) ) . ‘/wp-load.php’ );

    This is on Linux, with Apache, MySqL. I put the wordpress files in a directory called wordpress in the root directory of the website.

    I haven?t messed with php in a couple of years, so I?m hoping it?s something simple and obvious. Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    Please check the error logs on your server for a more specific error message and see why it’s failing. If you need help locating them, ask your hosting provider to help you with that.

    Also try reviewing: https://codex.www.ads-software.com/Installing_WordPress

    Thread Starter elaineko

    (@elaineko)

    Thanks for your reply – I discovered that php had display_errors set to off, so I changed it to on.
    So now I am getting this error:
    Parse error: syntax error, unexpected T_STRING in /var/www/html/wordpress/wp-includes/load.php on line 1095

    Just as a test, I tried installing version 4.9.3, and am getting the same error.

    It sounds to me like an issue with PHP itself.

    You may wish to create a file called info.php with the following contents:

    <?php
    
    // Show all information, defaults to INFO_ALL
    phpinfo();
    
    ?>

    You then want to check for the following dependencies:

    https://wordpress.stackexchange.com/questions/42098/what-are-php-extensions-and-libraries-wp-needs-and-or-uses

    And then make sure your memory limit is set to at least 128M.

    I also highly recommend running at least PHP5.6 or even PHP7.0+ if you have the ability to do so.

    Thread Starter elaineko

    (@elaineko)

    Hi, I discovered that the versions of PHP and MySQL were ancient! I contacted my ISP (I’ve had a webpage on there for something like 20 years), and they moved me to a newer server, with newer versions of everything, and with WordPress installed already. So I guess my problem is solved now.
    So, I suspect my problem was due to the vintage PHP version.

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Install.php failing at wp-load’ is closed to new replies.