• Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

    Fatal error: Unknown: Failed opening required ‘C:/Users/user/Documents/Local Sites/wordpress/index.php’ (include_path=’C:\xampp\php\PEAR’) in Unknown on line 0

    I am having issues getting wordpress to work.
    This is a brand new wordpress directory downloaded from www.ads-software.com (wordpress 5.2.2).

    Most forums I see keep bringing up wordfence however I don’t have any reference to that.
    My php.ini doesn’t have a value for auto_prepend_file and max_execution/input_timeout is set to 5000

    Thoughts or guidance would be much appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    It looks like you’ve installed XAMPP, which is fine, except it appears you’ve placed the WP files in the wrong location. To be fair, it’s not very clear where they should go. They belong in C:\xampp\htdocs\ . If you want to do a subfolder installation, that’s OK, but then you must include the subfolder in all requests to your site.

    After you’ve moved your WP files (assuming no subfolder installation)), point your browser to https://localhost/wp-admin/install.php to complete the installation process.

    Thread Starter skwisgaar

    (@skwisgaar)

    I have changed the document root to a different folder. I have done this many times before with no issues and currently have a different computer using a different documentroot with no issues. It did seem to work with the default document root (htdocs/wordpress) on this machine, though… Not sure why it is not working on the new directory. I’ll continue troubleshooting. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Failed Opening Required’ is closed to new replies.