Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
wordpress刷新安装显示空白页_Wordpress - Fatal编程技术网

wordpress刷新安装显示空白页

wordpress刷新安装显示空白页,wordpress,Wordpress,我正在使用linux。我下载了wordpress压缩文件。我有一个文件夹life.com并解压缩了其中的wordpress内容 我创建了一个虚拟主机life.com(它不是一个实时站点)。它只能从我的电脑上访问 我设置apache web服务器和主机,以便life.com指向该文件夹 当我打开life.com时,它会显示空白页。我只是将index.php重命名为index1.php,然后显示文件夹life.com的内容 我将sample.php与hello放在一起。当我打开life.com/sa

我正在使用linux。我下载了wordpress压缩文件。我有一个文件夹life.com并解压缩了其中的wordpress内容

我创建了一个虚拟主机life.com(它不是一个实时站点)。它只能从我的电脑上访问

我设置apache web服务器和主机,以便
life.com
指向该文件夹

当我打开life.com时,它会显示空白页。我只是将index.php重命名为index1.php,然后显示文件夹life.com的内容

我将sample.php与hello放在一起。当我打开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 

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

你不能只解压缩WP文件,你必须经历一个简短的安装过程。请理解问题。我刚安装了wordpress,当我打开life.com时,它会在棕色框中显示文本。我还创建了一个数据库,并将wp-config.php与所有必需的字段放在一起。它仍然显示一个空白页。我在error.log中看到,但没有错误。我甚至把wp_调试当作真的,仍然是愚蠢的页面。它可以连接到数据库,它可以运行php,但是一个空白page@celeriko,我想他知道-他在问题中提到了安装的一般流程。不清楚他是否执行了安装过程,他所说的只是解压缩了WP文件夹,这本身是不够的。另一方面,
life.com
是向《时代》杂志注册的,不是你,不确定你是在用它作为例子,还是你想用的域名。抱歉,life.com是我为测试而创建的虚拟主机。它在我的本地计算机上,我正在测试。所以我随便取了个名字。我想测试一个主题,所以给了life.com。请看更新后的帖子