我启动了Apache服务器,它与htdocs中的默认index.html文件一起使用。然后,我将social-engine_5.0文件复制到htdocs中。但是现在当我运行localhost时,它重定向到http://install/index.php,它说找不到IP地址。但是,当我尝试http://localhost/install/index.php时,它会运行,但显示错误页面,而不是我期望的安装页面。Picture of localhost/install/index.php
我应该如何进行安装?
域名可能是一个问题,在Windows上修改添加文件C:\Windows\System32\drivers\etc\host
,在Linux上修改添加文件/etc/hosts
。>
文件中必须有这样的行:
127.0.0.1 install
这将使名称安装指向您的本地计算机。