LAMP,LNMP 环境编译参数配置详解

1)查看 web 服务的编译参数

a.查看 nginx 的编译参数:

/home/oldboy/run/nginx/sbin/nginx -V

范例 1:

[root@VM-001 ~]# /home/oldboy/run/nginx/sbin/nginx -V

nginx version: nginx/0.8.50

built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)

configure arguments: --prefix=/app/nginx

 提示:/home/oldboy/run/为普通用户起的 nginx 服务命令路径

猜你喜欢

转载自www.cnblogs.com/fanweisheng/p/11333423.html