获取安装后Apache、MySQL、Nginx、PHP编译时参数

 

  
  
  
  
  1. # cat /usr/local/apache2/build/config.nice //获取Apache编译时的参数 
  2. #!/bin/sh 
  3. #Created by configure 
  4. "./configure"
  5. "--enable-modules=all"
  6. "--enable-mods-shared=all"
  7. "--enable-charset-lite"
  8. "--enable-unique-id"
  9. "--enable-usertrack"
  10. "--disable-version"
  11. "--enable-http"
  12. "--enable-info"
  13. "--enable-cgi"
  14. "--enable-vhost-alias"
  15. "--enable-rewrite"
  16. "--enable-so"
  17. "--with-mpm=prefork"\  

扩展:

查看nginx编译参数: /usr/local/nginx/sbin/nginx -V
查看apache编译参数:cat /usr/local/apache2/build/config.nice
查看mysql编译参数: cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
查看php编译参数: /usr/local/php/bin/php -i | grep configure

 

你可能感兴趣的:(apache,nginx,APP)