Home >php教程 >php手册 >PHP以CGI方式和服务器上嵌入模块方式有什么区别?

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

WBOY
WBOYOriginal
2016-06-13 09:59:271017browse

以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
Previous article:PHP来控制客户端cacheNext article:PHP日常实用小Tips