Home Backend Development PHP Tutorial Thinkphp 的一个奇怪的500异常有关问题

Thinkphp 的一个奇怪的500异常有关问题

Jun 13, 2016 am 11:53 AM
500 git nbsp thinkphp

Thinkphp 的一个奇怪的500错误问题
由于一个项目是thinkphp2.0的环境做的。

现在要使用git 提交版本的方式来开发。

于是就遇到一个奇怪的问题,我将文件放在一个git初始化的目录,使用git提交到服务器,然后再使用钩子将其同步到WWW的目录下面,进行实时查看。使用git提交过去的,查看首页就是空白页面,而且echo,phpinfo什么的都正常。

我直接将文件上传到www目录上去之后,也是能正常加载访问,没有任何问题。

唯独只有使用git的钩子提交过去的就是 500 Internal Server Error.

很奇怪,查看了nginx 的错误日志也没有。

怎么下手呢?
------解决方案--------------------
Runtime 目录中的内容会在程序运行时被改写
如果将其置于版本控制下,显然是要出问题的

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to install deepseek How to install deepseek Feb 19, 2025 pm 05:48 PM

How to install deepseek

Summary of FAQs for DeepSeek usage Summary of FAQs for DeepSeek usage Feb 19, 2025 pm 03:45 PM

Summary of FAQs for DeepSeek usage

How to register for LBank Exchange? How to register for LBank Exchange? Aug 21, 2024 pm 02:20 PM

How to register for LBank Exchange?

What are the AI ​​tools? What are the AI ​​tools? Nov 29, 2024 am 11:11 AM

What are the AI ​​tools?

How much margin is needed for Huobi futures contracts to avoid liquidation? How much margin is needed for Huobi futures contracts to avoid liquidation? Jul 02, 2024 am 11:17 AM

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? Delphi Digital: How to change the new AI economy by parsing the new ElizaOS v2 architecture? Mar 04, 2025 pm 07:00 PM

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? As top market makers enter the crypto market, what impact will Castle Securities have on the industry? Mar 04, 2025 pm 08:03 PM

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 What are the Grayscale Encryption Trust Funds? Common Grayscale Encryption Trust Funds Inventory Mar 05, 2025 pm 12:33 PM

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

See all articles