Home  >  Article  >  Backend Development  >  关于PHP文件解析解决办法

关于PHP文件解析解决办法

WBOY
WBOYOriginal
2016-06-13 11:52:35846browse

关于PHP文件解析
请问下当用户请求的是.php的文件,apache收到客户请求后是直接给PHP模块来处理吗?
如果PHP文件当中没有一点PHP代码只是纯的HTML代码是否也是PHP模块解析器来处理的?还是交会到APACHE来处理啊?
------解决方案--------------------
非 php 代码不被执行(也不可能执行),这也是 php 解析器功能的一部分
首先他要识别出不是 php 代码,然后才能原样输出

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