wordpress全新安装显示空白页

ccrfmcuu  于 2023-03-07  发布在  WordPress
关注(0)|答案(1)|浏览(239)

我正在使用Linux。我下载了WordPress的zip文件。我有一个文件夹life.com和解压的WordPress内容在它。
我已经创建了一个虚拟主机life.com(它不是一个活的网站)。它只能从我的计算机访问。
我设置了Apache Web服务器和主机,以便life.com指向该文件夹。
当我打开www.example.com时life.com,它显示空白页面。我只是将index.php重命名为index1.php,然后它显示文件夹www.example.com的内容life.com
我在hello中添加了sample.php。当我打开www.example.com时life.com/sample.php,它显示hello
apache和php都没有问题。
一般来说,新安装的wordpress应该显示该页面

There doesn't seem to be a wp-config.php file. I need this before we can get started.

    Need more help? We got it.

    You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

    Create a Configuration File

我没有打开life.com,而是在Apache根目录/srv/wordpress中创建了一个文件夹,并在那里解压缩了文件。
当我打开localhost/wordpress然后它显示

There doesn't seem to be a wp-config.php file. I need this before we can get started.

    Need more help? We got it.

    You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

    Create a Configuration File

当我从虚拟主机(lifeidocom)打开时,它显示空白页面,但从localhost/wordpress正确打开。

11dmarpk

11dmarpk1#

我也遇到了同样的问题,转到安装WordPress的文件夹只会导致一个空白页面。
然而,访问readme.html页面起作用了,它将我引导到wp-admin/install.php,然后可以运行安装过程。

相关问题