为什么cakephp项目不运行是服务器?(Why cakephp project is is not running is server?)

编程入门 行业动态 更新时间:2024-10-26 10:29:30
为什么cakephp项目不运行是服务器?(Why cakephp project is is not running is server?)

我使用cakephp开发了一个应用程序.Project在我的本地服务器上成功运行并测试了实时服务器。但它没有在我的真实域名中运行,名为http://www.tileclock.com 。我尝试了一切,一切都很好。我有不明白是什么问题。任何想法我该怎么办?

I have developed an application using cakephp.Project is running successfully on my local server and test live server.But Its not running in my real domain named http://www.tileclock.com.I tried everything,all is good.I have no idea whats the problem.Any idea what should I do?

最满意答案

在app / config / core.php文件中,只需删除该行的注释即可

`Configure::write('App.baseUrl', env('SCRIPT_NAME'));`

我想你会通过上述指示找到解决方案。

In app/config/core.php file just remove comment from the line

`Configure::write('App.baseUrl', env('SCRIPT_NAME'));`

I think you will find solution by above instruction.

更多推荐

本文发布于:2023-08-01 20:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1364830.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:服务器   项目   cakephp   server   running

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!