Home  >  Article  >  Backend Development  >  pHp include 和 request的问题!(include文件不执行,直接将php源码输出

pHp include 和 request的问题!(include文件不执行,直接将php源码输出

WBOY
WBOYOriginal
2016-06-23 14:06:271256browse

具体情况和 http://bbs.csdn.net/topics/70431888 一样,但没有找到答案!


回复讨论(解决方案)

找到原因了,php文件的里用了小标签, 而php.ini 中没有开启。
short_open_tag = Off
改成
short_open_tag = On
就可以了 

Statement:
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