• I’m developing a website on a local host with Xampp, and I was told to try and edit something in my wp-config.php file. I put the code in the wrong area of the file, and then got this message when trying to access my website.

    Warning: require_once(/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-config.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-load.php on line 37

    Fatal error: require_once(): Failed opening required ‘/Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-config.php’ (include_path=’.:/Applications/XAMPP/xamppfiles/lib/php’) in /Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-load.php on line 37

    I then closed all the servers, and put the line of code in the right place. This still got the same error message. I’ve even just taken the line of code completely out, without changing anything else. Nothing I do will allow me to enter my site. This is for a client so I really need to work on this website. Any help is appreciated.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @gbro7,

    It looks like the file wp-load.php in unable to read the file wp-config.php. Please try to change the file permissions for wp-config.php to 660.

    Feel free to get back to me in case this didn’t solve your issue.

    Thread Starter gbro7

    (@gbro7)

    Hey Niels,

    Thank you so much for your reply. Where would I change the file permissions? Is that in the actual code of the file?

    Thank you again for your help,

    George

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress Site down Xampp’ is closed to new replies.