分享

查看nginx版本&测试nginx

 lanyue211 2011-07-19
查看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

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多