PHP常见运行模式及原理

  关于PHP目前比较常见的五大运行模式: 1.CGI(通用网关接口 / Common Gateway Interface) 2.FastCGI(常驻型CGI / Long-Live CGI)

mysql用户与授权

  1.创建用户 insert into mysql.user(Host,User,Password) values("localhost","test",password("123456")); 2.用户授权 授权格式: grant 权限 on 数据库.* to 用户名@登录主机 identified by "密码";

如何在ubuntu14.04上安装composer

  1、下载并执行Installer,要注意的是,如果沒有在php前面加上sudo的话,有可能出现错误信息。sudo curl -sS https://getcomposer.org/installer | sudo php -d detect_unicode=Off