1. Check the Linux kernel version and system information. There are four commonly used methods:
# uname -a
# more /etc/issue
# cat /proc/version
# more /etc/redhat-release
2. nginx compilation parameters:
# /usr/local/nginx/sbin/nginx -V
3. apache view version compile parameter
apache version:
# httpd -v
Apache compilation parameters:
# cat /usr/local/apache2/build/config.nice
4. View the php version and compilation parameters
php编译参数:
# /usr/local/php/bin/php -i |grep configure
# php -v
5. Check the mysql version and parameters
Check the mysql version:
# mysql -v 或者是 --help|grep Distrib来查看;
进入数据库
# mysql > select version(); 或者 status; 或者/s;
mysql编译参数:
# cat "/usr/local/mysql/bin/mysqlbug"|grep configure