![](/img/trans.png)
[英]Your application folder path does not appear to be set correctly error in codeigniter
[英]Codeigniter4 installation:you need to set your “document root” to the public folder inside your project
我正在尝试在计算机上安装Codeigniter 4
我已经从这个仓库https://github.com/bcit-ci/CodeIgniter4/tree/develop下载了codeigniter4。
从他们的文档https://bcit-ci.github.io/CodeIgniter4/installation/index.html
使用文本编辑器打开application / Config / App.php文件,然后设置基本URL。 如果您打算使用加密或会话,请设置您的加密密钥。
我已经完成了上述步骤,但仍然收到此错误消息,如果您看到此消息,则说明您未正确配置Web服务器。
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.
最后,我找到了答案,而不是从您的项目文件夹中运行站点,您应该从公用文件夹中运行它
eg:localhost/codeigniter4/public
将给页面
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.