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 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题