Home > Backend Development > PHP Tutorial > include 文件出现500的错误是怎么回事

include 文件出现500的错误是怎么回事

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:50:40
Original
1731 people have browsed it

xampp for windows。include或是require一个文件出现500的错误,但是用file_get_contents能读取文件内容。apache和php的错误日志中没有任何相关提示。

回复内容:

xampp for windows。include或是require一个文件出现500的错误,但是用file_get_contents能读取文件内容。apache和php的错误日志中没有任何相关提示。

500的话,是你的文件语法有问题。你检查一下require的那个文件的语法。

你file_get_contents是通过什么方式读取这个文件的?文件系统路径还是url?

Related labels:
php
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