WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error when install (line 48 in wp-load.php) (3 posts)

  1. chepukha
    Member
    Posted 1 year ago #

    I'm trying to install wordpress 3.4.1 on an Ubuntu server (10.x).
    I got the following error when access server_ip_address/wordpress/index.php

    Warning: main(./wp-includes/load.php): failed to open stream: Permission denied in ./wp-load.php on line 48

    Fatal error: main(): Failed opening required './wp-includes/load.php' (include_path='.:/usr/local/lib/php') in ./wp-load.php on line 48

    If I do which php, I get the following
    $ which php
    /usr/local/bin/php

    It looks like the path to php is incorrect. But how can I fix it? Any suggestion please?

    Many thanks,

  2. kelytha
    Member
    Posted 1 year ago #

    It seems like the web server has no permission to read the file. You should either chown the WordPress files to the user the web server is running with, or you have to give global read permission on the PHP files.

  3. chepukha
    Member
    Posted 1 year ago #

    Thanks Kelytha. I previously set 755 for all files in wordpress/ directory but didn't do it recursively. I went back and change everything recursively. That solves the problem above but I ran into another error:

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Topic