【问题标题】:Warning: require(__DIR__/wp-blog-header.php) when manually installing wordpress on Plesk警告:在 Plesk 上手动安装 wordpress 时需要(__DIR__/wp-blog-header.php)
【发布时间】:2020-05-19 07:50:27
【问题描述】:

谁能帮帮我。我正在尝试在 Plesk 上手动安装 WP,但出现此错误。

警告:require(DIR/wp-blog-header.php) [function.require]:无法打开流:C:\Inetpub\vhosts\taranawa 中没有这样的文件或目录。 com\httpdocs\index.php 第 17 行

警告:require(DIR/wp-blog-header.php) [function.require]:无法打开流:C:\Inetpub\vhosts\taranawa 中没有这样的文件或目录。 com\httpdocs\index.php 第 17 行

致命错误:require() [function.require]:打开失败需要'DIR/wp-blog-header.php' (include_path='.;./includes;./pear' ) 在 C:\Inetpub\vhosts\taranawa.com\httpdocs\index.php 第 17 行

【问题讨论】:

    标签: wordpress


    【解决方案1】:

    您必须将 PHP 版本更改为 7.4

    最新版 WordPress 的要求 (https://wordpress.org/download/)

    • PHP 7.4 或更高版本
    • MySQL 5.6 版或 MariaDB 10.1 版或更高版本。
    • Apache 或 Nginx

    【讨论】:

      猜你喜欢
      • 2016-02-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-06
      相关资源
      最近更新 更多