查看php安装完成后的编译参数

[root@node1 docs]# /usr/local/php-5.3.27/bin/php -i | grep configure

Configure Command =>  './configure'  '--prefix=/usr/local/php-5.3.27' '--with-mysql=/usr/local/mysql-5.5.32-bin' '--with-iconv-dir=/usr/local/libiconv' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-zlib' '--with-libxml-dir=/usr' '--enable-xml' '--disable-rpath' '--enable-safe-mode' '--enable-bcmath' '--enable-shmop' '--enable-sysvsem' '--enable-inline-optimization' '--with-curl' '--with-curlwrappers' '--enable-mbregex' '--enable-fpm' '--enable-mbstring' '--with-mcrypt' '--with-gd' '--enable-gd-native-ttf' '--with-openssl' '--with-mhash' '--enable-pcntl' '--enable-sockets' '--with-xmlrpc' '--enable-zip' '--enable-soap' '--enable-short-tags' '--enable-zend-multibyte' '--enable-static' '--with-xsl' '--with-fpm-user=nginx' '--with-fpm-group=nginx' '--enable-ftp'

PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in Unknown on line 0

 

 

[root@node1 docs]# /usr/local/php-5.6.15/bin/php -i | grep configure

Configure Command =>  './configure'  '--prefix=/usr/local/php-5.6.15' '--with-config-file-path=/etc' '--with-apxs2=/usr/local/apache2.4.12/bin/apxs' '--with-mysql' '--with-mysqli' '--with-libxml-dir' '--with-png-dir' '--with-jpeg-dir' '--with-freetype-dir' '--with-gd' '--with-zlib-dir' '--enable-soap' '--enable-mbstring=all' '--enable-sockets' '--enable-ftp' '--enable-zip' '--with-gettext'

 

 

分割线
感谢打赏
江西数库信息技术有限公司
YWSOS.COM 平台代运维解决方案
 评论
 发表评论
姓   名:

Powered by AKCMS