0

I have installed XAMPP for Windows 5.5.35 on my local machine and have copied wordpress 4.5.2 in the htdocs/sass-wp folder. the error I am getting is:

Warning: require(C:\xampp\htdocs\sass-wp/wp-includes/load.php): failed to open stream: No such file or directory in C:\xampp\htdocs\sass-wp\wp-settings.php on line 21 Fatal error: require(): Failed opening required 'C:\xampp\htdocs\sass-wp/wp-includes/load.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\sass-wp\wp-settings.php on line 21

I have looked at the following question on stackoverflow: PHP - Failed to open stream : No such file or directory which indicates that my problem is to do with paths, relative and absolute. As I am a beginner with PHP and xampp I am not sure where to apply the fixes.

Here is the code on line 21

define( 'WPINC', 'wp-includes' );
// Include files required for initialization.
require( ABSPATH . WPINC . '/load.php' );
require( ABSPATH . WPINC . '/default-constants.php' );

thanks

Community
  • 1
  • 1
maggs
  • 41
  • 1
  • 9

1 Answers1

0

the Xampp 5.5.35 has PHP version 5.5.35, Wordpress 4.5.2 require PHP 5.6 or greater

  • I have updated to PHP and still had the same problem so have re-installed xamp which now gives me a denied access. thanks for the tip about the version of php to use with this version of wp – maggs Jun 12 '16 at 09:23
  • you can still try to troubleshoot your issue with denied access using the same link that you looked at – Vic Seedoubleyew Jun 12 '16 at 09:39