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中实现使用AJAX动态刷新部分页面 2023-03-02
- laravel ORM关联关系中的 with和whereHas用法 2023-03-02
- laravel 解决多库下的DB::transaction()事务失效问题 2023-03-08
- thinkphp3.2.3框架动态切换多数据库的方法分析 2023-03-19
- 使用PHP开发留言板功能 2023-03-13
- PHP命名空间简单用法示例 2022-12-01
- PHP实现Redis单据锁以及防止并发重复写入 2022-10-12
- php array分组,PHP中array数组的分组排序 2022-08-01
- PHP中的错误及其处理机制 2023-06-04
- PHP获取MySQL执行sql语句的查询时间方法 2022-11-09