cakephp 设置运行第一个程序
我在让 cakephp 为我工作时遇到了一些设置问题。
我在文档根目录中创建了一个名为 Hello World
的文件夹,该文件夹设置为 C:\xampp\htdocs
。因此,文档根目录是 C:\xampp\htdocs\Hello World,我将所有下载的解压的 cakephp13 复制并粘贴到其中。但是,当我将 url 设置为 http://localhost/Hello World 运行浏览器时,据报告我
"HelloWorldController" could not be found Create the class
HelloWorldController below in file
app\Controler\HelloWorldController.php
I am in a little settings problem to make cakephp work for me.
I've created a folder named Hello World
in the document root directory which is set to C:\xampp\htdocs
. The Document root thus is C:\xampp\htdocs\Hello World
into which I copy and paste all the downloaded unzipped cakephp13. However, when I run the browser with the url set as http://localhost/Hello World I am reported that
"HelloWorldController" could not be found Create the class
HelloWorldController below in file
app\Controler\HelloWorldController.php
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将文件夹“Cakephp13”复制到 XAmpp 的根目录,
然后
在浏览器中
http://localhost/cakephp13/helloworld
// cakephp13您的网址中缺少。
copy the folder "Cakephp13" to root of XAmpp
then
in Browser
http://localhost/cakephp13/helloworld
// cakephp13 is missing in your URL.