Home >Backend Development >PHP Tutorial >PHP以CGI方式和服务器上嵌入模块方式有什么区别?_PHP

PHP以CGI方式和服务器上嵌入模块方式有什么区别?_PHP

WBOY
WBOYOriginal
2016-06-01 12:35:19765browse

以CGI方式运行的PHP有如下不足:
1. 不能使用基本论证
2. 返回的变量不准,如PHPSELF,会在文件名前面加上解释器的路径
3. 运行速度慢,消耗系统资源多 

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