在linux平台下的应用,最流行的莫过于nginx、apache、mysql、php几个。而这几个常用的应用,在手工编译完以后,在其他一些情况下(如:新增模块),往往想要查看当初都使用了那些参数进行的编译。这时候就可以利用以下方法查看。
1、nginx
[root@361way ~]# /App/nginx/sbin/nginx -V nginx: nginx version: nginx/1.2.6 nginx: TLS SNI support disabled nginx: configure arguments:--prefix=/App/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module
2、apache
[root@361way build]# cat config.nice#! /bin/sh## Created by configure"./configure""--prefix=/usr/local/httpd""--with-apr=/usr/local/apr""--with-apr-util=/usr/local/apr-util""--with-pcre""--with-mpm=event""--enable-rewrite""--enable-proxy""--with-z""--enable-so""$@"
3、mysql
[root@361way build]#cat “/usr/local/mysql/bin/mysqlbug”|grep configure# This is set by configure CONFIGURE_LINE=”./configure ‘--prefix=/usr/local/mysql’‘--localstatedir=/var/lib/mysql’‘--with-comment=Source’‘--with-server-suffix=-H863′‘--with-mysqld-user=mysql’‘--without-debug’‘--with-big-tables’‘--with-charset=gbk’‘--with-collation=gbk_chinese_ci’‘--with-extra-charsets=all’‘--with-pthread’‘--enable-static’‘--enable-thread-safe-client’‘--with-client-ldflags=-all-static’‘--with-mysqld-ldflags=-all-static’‘--enable-assembler’‘--without-isam’‘--without-innodb’‘--without-ndb-debug’”
4、php
/usr/local/php/bin/php -i |grep configure ConfigureCommand=>‘./configure’‘--prefix=/usr/local/php’‘--with-apxs2=/usr
相关推荐
linux下查看nginx、apache、mysql、php的编译参数.docx
快速查看服务器软件的编译参数:1、nginx编译参数: your_nginx_dir/sbin/nginx -v 2、apache编译参数: cat your_apache_dir/build/config.nice 3、php编译参数: your_php_dir/bin/php -i |grep configure 4、...
查看nginx,apache,php,mysql的编译参数及安装模块位置。
一、准备工作 1、安装编译工具gcc、gcc-c++ ...2、关闭系统RPM安装包的Apache、MySQL的服务 3、关闭SELinux,允许防火墙80端口访问 1)关闭SELinux 2)关闭防火墙Netfilter/iptables 4、关闭不必要自启动服务
linux + apache(nginx) + mysql + php 配置 详解
教你如何在linux下配置nginx服务器和php的环境
LNMP一键安装包是一个用Linux Shell编写的可以为CentOS/RadHat/Fedora、Debian/Ubuntu/Raspbian VPS(VDS)或独立主机安装LNMP(Nginx/MySQL/PHP)、LNMPA(Nginx/MySQL/PHP/Apache)、LAMP(Apache/MySQL/PHP)生产环境的...
nginx+apache+mysql+php+memcached+squid搭建门户网站
Linux+Nginx+Mysql+Php安装教程
Linux nginx mysql php LNMP安装配置详细步骤
纯手工搭建Linux Nginx MySQL PHP WEB服务器
Linux-Apache-Nginx-MySQL-PHP,安装资源。
Linux 2.6平台下Nginx-PHP-Mysql安装手册
LNMP(linux+nginx+mysql+php)服务器环境搭配
Linux+Apache+Nginx+MySQL+PHP,前端代理,加快访问速度
Linux下Nginx+PHP+MySQL配置(图) 已经说得很详细了!
linux + nginx + mysql + php 配置流程
linux下搭建php项目运行环境,其中包括nginx1.3的编译安装与配置,mysql5.7二进制包的详细安装过程,php7.1的编译安装与配置,php扩展新增的挂载编译安装与配置。
Linux环境Nginx1.24.0版本,解压即用。 解压后使用./nginx -V可查看版本和编译信息。 编译参数包含flv、pcre-8.45、openssl-1.1.1l、zlib-1.2.11等,满足基本使用;