想要查看以前编译安装的软件(apache | nginx | mysql | php)的编译参数可以通过以下方法获得:
apache编译参数:
通过编译安装文件夹下的cat config.status文件进行查看;
或到安装目录如/data/soft/apache2/build下的config.nice文件查看。
nginx编译参数:
直接使用命令:/data/soft/nginx/sbin/nginx -V
php编译参数:
直接通过命令:/data/soft/php/bin/php -i | grep configure
或者通过编译安装文件夹下的cat config.nice文件进行查看。
或利用phpinfo()参数进行查看。
mysql编译参数:
直接通过命令:cat /data/soft/mysql/bin/mysqlbug | grep configure
如非注明则为本站原创文章,欢迎转载。转载请注明转载自:moon's blog
学习了