查看 php 编译参数
/app/php/bin/php -i|grep configure
范例 4:
[root@VM-001 ~]# /app/php/bin/php -i|grep configure
Configure Command => './configure' '--prefix=/app/php' '--with-apxs2=/app/apac he/bin/apxs' '--with-mysql=shared,/app/mysql' '--with-ttf=shared' '--with-freetype- dir' '--with-gd' '--with-zlib' '--with-jpeg-dir' '--with-png-dir' '--with-iconv=/app/libic onv' '--enable-short-tags' '--enable-sockets' '--enable-zend-multibyte' '--enable-soa p' '--with-openssl' '--enable-mbstring' '--enable-static' '--enable-gd-native-ttf' '--wit h-curl' '--with-xsl' '--enable-ftp' '--with-libxml-dir'