LAMP介绍 Alex

LAM(M)P:
L:linux
A:apache (httpd)
M:mysql, mariadb
M:memcached
P:php, perl, python

WEB资源类型:
静态资源:原始形式与响应内容一致,在客户端浏览器执行
动态资源:原始形式通常为程序文件,需要在服务器端执行之后,将执行结果返回给客户端

Web相关语言
客户端技术: html,javascript,css,jpg
服务器端技术:php, jsp,python,asp

LAMP

  httpd:接收用户的web请求;静态资源则直接响应;动态资源为php脚本,对此类资源的请求将交由php来运行
  php:运行php程序
  MariaDB:数据管理系统

httpd与php结合的方式
  modules (将php编译成为httpd的模块,默认方式)
    MPM:
      prefork: libphp5.so
      event, worker: libphp5-zts.so
    FastCGI

实现LAMP方式

  CentOS 7:
    Modules:httpd, php, php-mysql, mariadb-server
    FastCGI:httpd, php-fpm, php-mysql, mariadb-server

   CentOS 6:

  Modules:httpd, php, php-mysql, mysql-server
  FastCGI:默认不支持

 

原文地址:https://www.cnblogs.com/alexlv/p/14595482.html