Support » Localhost Installs » Fatal error when install (line 48 in wp-load.php)

  • chepukha


    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

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

    Many thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • kelytha


    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.

    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:


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error when install (line 48 in wp-load.php)’ is closed to new replies.