查看nginx版本 Linux下查看nginx,apache,mysql,php的编译参数 1、nginx编译参数:
#/usr/local/nginx/sbin/nginx -V 2、apache编译参数: # cat /usr/local/apache/build/config.nice #/usr/local/apache/bin/apachectl -V
#cat $apachehome$/build/config.nice
3、php编译参数: # /usr/local/php/bin/php -i |grep configure #$PHP$/bin/php -i | grep configure
# /usr/local/php/bin/php-config
4、mysql编译参数: # cat /usr/local/mysql/bin/mysqlbug|grep configure 5、smartd编译参数:
#/usr/sbin/smartctl -V|grep
configure 测试nginx是否正常 #cd /usr/local/nginx/sbin #./nginx -t nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
|
|