dongque1462 2016-06-11 23:33
浏览 164

在xampp错误上安装wordpress

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

  • 写回答

1条回答

  • dongli7870 2016-06-12 03:06
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误