Thinkphp 的一个奇怪的500异常有关问题
Jun 13, 2016 am 11:53 AM
Thinkphp 的一个奇怪的500错误问题
由于一个项目是thinkphp2.0的环境做的。
现在要使用git 提交版本的方式来开发。
于是就遇到一个奇怪的问题,我将文件放在一个git初始化的目录,使用git提交到服务器,然后再使用钩子将其同步到WWW的目录下面,进行实时查看。使用git提交过去的,查看首页就是空白页面,而且echo,phpinfo什么的都正常。
我直接将文件上传到www目录上去之后,也是能正常加载访问,没有任何问题。
唯独只有使用git的钩子提交过去的就是 500 Internal Server Error.
很奇怪,查看了nginx 的错误日志也没有。
怎么下手呢?
------解决方案--------------------
Runtime 目录中的内容会在程序运行时被改写
如果将其置于版本控制下,显然是要出问题的

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How much margin is needed for Huobi futures contracts to avoid liquidation?

Delphi Digital: How to change the new AI economy by parsing the new ElizaOS v2 architecture?

As top market makers enter the crypto market, what impact will Castle Securities have on the industry?

What are the Grayscale Encryption Trust Funds? Common Grayscale Encryption Trust Funds Inventory
