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 fluent的在模拟压强时使用希望得到一些建议
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 Web.config连不上数据库
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退