Home > Backend Development > PHP Tutorial > When transferring the entire file to the server, a 500 error was encountered.

When transferring the entire file to the server, a 500 error was encountered.

WBOY
Release: 2016-10-22 12:06:43
Original
1120 people have browsed it

Process: All thinkphp files are generated on your own computer, and then the entire file is transferred to the server.

Analysis: Then the problem comes. When uploading, the runtime file is also uploaded. The Runtime directory is the working directory of thinkphp and must have write permission. If there is no such directory, thinkphp will create it by itself. When the Runtime directory is placed on the server, it becomes read-only, so an error is reported.

Solution: Delete the Runtime on the server and revisit the index.php (referencing the thingPHP framework) file, the Runtime will be automatically generated.

source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template