查看 php 编译参数

Posted fanweisheng

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了查看 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‘

以上是关于查看 php 编译参数的主要内容,如果未能解决你的问题,请参考以下文章

查看NginxapacheMySQL和PHP的编译参数

如何查看apache,php,mysql的编译参数

查看Nginx Apache MySQL PHP编译参数

查看mysql apache php nginx的编译参数

查看lnmp的编译参数和版本

查看已安装软件的编译参数