【发布时间】:2016-10-05 06:32:26
【问题描述】:
我正在尝试在机器上安装 codeigniter 4
我已经从这个 repo https://github.com/bcit-ci/CodeIgniter4/tree/develop 下载了 codeigniter4
来自他们的文档https://bcit-ci.github.io/CodeIgniter4/installation/index.html
使用文本编辑器打开 application/Config/App.php 文件并设置 您的基本网址。如果您打算使用加密或会话,请设置您的 加密密钥。
我已经完成了上述步骤,但我仍然收到此错误消息 如果您看到此消息,则说明您的网络服务器配置不正确。
You need to set your "document root" to the public folder inside your project. This could be your default setting, or that of a virtual host, depending on how you set up your local development environment.
【问题讨论】:
-
你能提供文件的结构吗?
-
@Dray 你的意思是目录结构
-
是的。你用什么做灯组?
-
我在 windows 中使用 xampp
-
您是否在 xampp/htdocs 中创建了一个文件夹并将您的 codeigniter 文件放入其中?它应该类似于 xampp/htdocs/project/(您的 CODEIGNITER 提取的文件)
标签: php apache codeigniter