1.查看Nginx编译参数[root@portal finance]# your_nginx_dir/sbin/nginx -V nginx version: nginx/1.6.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) TLS SNI support enabled configure arguments: --pr...

1.查看Nginx编译参数
[root@portal finance]# your_nginx_dir/sbin/nginx -V
nginx version: nginx/1.6.0 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) TLS SNI support enabled configure arguments: --prefix=/usr/local/nginx-1.6.0 --with-http_ssl_module
2.查看PHP编译参数
[root@portal finance]# your_php_dir/bin/php -i |grep configure
Configure Command => './configure' '--prefix=/usr/local/php-7.1.0' '--enable-fpm' '--enable-inline-optimization' '--with-config-file-path=/usr/local/php-7.1.0/lib' '--enable-mbstring' '--with-curl' '--with-gd' '--with-jpeg-dir' '--with-zlib' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-pcntl' '--enable-mbregex' '--enable-zip' '--with-pcre-regex' '--with-mysql' '--with-mysqli' '--with-openssl'
3.查看Apache编译参数
[root@portal finance]# cat your_apache_dir/build/config.nice
4.查看MySQL编译参数
[root@portal finance]# cat your_mysql_dir/bin/mysqlbug | grep configure
# This is set by configure
CONFIGURE_LINE="./configure '–prefix=/usr/local/mysql4′ '–sysconfdir=/etc' '–enable-assembler' '–without-debug' '–with-client-ldflags=-all-static' '–with-mysqld-ldflags=-all-static' '–localstatedir=/www/mysql' '–with-big-tables' '–with-low-memory' '–with-extra-charsets=all' '–enable-thread-safe-client' '–with-pthread' '–with-unix-socket-path=/tmp/mysql.sock'"
织梦狗教程
本文标题为:查看Nginx、PHP的编译参数


基础教程推荐
猜你喜欢
- laravel model模型定义实现开启自动管理时间created_at,updated_at 2023-03-02
- TP5(thinkPHP5框架)基于bootstrap实现的单图上传插件用法示例 2023-01-19
- PHP使用SMTP邮件服务器发送邮件示例 2022-11-16
- TP5 连接多个数据库及使用方法 2023-08-30
- php中使用array_filter()函数过滤数组实例讲解 2023-05-19
- thinkPHP3.2.2框架行为扩展及demo示例 2022-11-07
- PHP数据加密方式梳理介绍 2023-07-03
- PHP删除数组中指定值的元素常用方法实例分析【4种方法】 2022-11-12
- PHP实现生成数据字典功能示例 2022-10-18
- PHP实现创建一个RPC服务操作示例 2023-04-01