Home  >  Article  >  Backend Development  >  第一章 1/3节 LAMP概述及PHP的用场

第一章 1/3节 LAMP概述及PHP的用场

WBOY
WBOYOriginal
2016-06-13 11:00:02802browse

第一章 1/3节 LAMP概述及PHP的用途
1. 缩写:LAMP=(Linux+Apache+MySql+PHP)(即OS+WebAapp+DB+后台脚本)

2. 问:LAMP是如何工作的?
答:域名->
DNS->
IP:80->
(Linux、Unix(hp-UX,Solaris OpenBSD)、Microsoft Windows Mac Ox RISC OS)->
服务器(apache IIS PWS)->
index.php->
数据库:MySQL、Oracle、Informix、Sybase、MS SQL Server、PostgreSql->
前台语言->
客户端->
浏览器解释

3. 问:PHP能做什么?
答:Unix和Linux环境,特殊的Windows场合直接用命令解释器PHP程序,以及桌面程序(很少用)

4. 选择PHP的原因?
答:PHP开发时间几乎是Java的一半
PHP是解释型,Java是编译型,所以PHP运行速度不如Java
但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