我正在使用linux。我下载了wordpress zip文件。我有一个文件夹life.com并解压缩了wordpress内容。
我创建了一个虚拟主机life.com(它不是一个实时网站)。它只能通过我的电脑访问。
我设置了我的apache web服务器和主机,以便life.com
指向该文件夹。
当我打开life.com时,它会显示空白页面。我只是将index.php重命名为index1.php,然后显示文件夹life.com的内容
我把一个带有你好的sample.php。当我打开life.com/sample.php时,它会显示你好
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正确打开时,它显示空白页面。