安装 基础环境



 yum -y install libxml2 libxml2-devel openssl openssl-devel curl-devel libjpeg-devel libpng-devel freetype-devel gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel ssse2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers gettext-devel libXpm-devel libtool libevent libevent-devel gd-devel gd libmcrypt libmcrypt-devel pcre pcre-devel php-mcrypt libmcrypt libmcrypt-devel re2c mysql-devel


 

 (或者MariaDB-devel) 
 

下载php-5.6.22.tar.gz

tar zxvf php-5.6.22.tar.gz
cd /opt/php-5.6.22


./configure \
<div style="background-color: inherit;">
    --prefix=/usr/local/php5&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">指定</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">php</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">的安装路径</span>
</div>

<div style="background-color: inherit;">
    --with-config-file-path=/usr/local/php5/etc&nbsp;\
</div>

<div style="background-color: inherit;">
    --with-mcrypt=/usr/include&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">编码函数库</span>
</div>

<div style="background-color: inherit;">
    --with-mysqli=<span style="line-height: 1.5; background-color: rgb(255, 255, 255);">mysqlnd</span><span style="line-height: 1.5; background-color: rgb(255, 255, 255);">&nbsp;\</span>
</div>

<div style="background-color: inherit;">
    <span style="text-align: left; color: rgb(0, 0, 0); font-family: Monaco, Consolas, Courier, &quot;Lucida Console&quot;, monospace; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">--with-mysql=mysqlnd&nbsp;\</span>
</div>

<div style="background-color: inherit;">
    <span style="text-align: left; color: rgb(0, 0, 0); font-family: Monaco, Consolas, Courier, &quot;Lucida Console&quot;, monospace; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">需要指定<span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">连接</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">MySQL</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">的客户端工具</span></span></span>
</div>

<div style="background-color: inherit;">
    --with-pdo-mysql=mysqlnd&nbsp;\
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-fpm-user=nginx \
    </div>
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">指定</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">PHP-FPM</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">进程管理的用户为</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="text-align: left; color: rgb(0, 0, 0); font-family: Monaco, Consolas, Courier, &quot;Lucida Console&quot;, monospace; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">nginx</span>,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">此处最好和</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">Nginx</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">服务用户统一。</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-fpm-group=nginx \
    </div>
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">指定</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">PHP-FPM</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">进程管理用户组为</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="text-align: left; color: rgb(0, 0, 0); font-family: Monaco, Consolas, Courier, &quot;Lucida Console&quot;, monospace; font-size: 14px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">nginx</span>,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">此处最好和</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">Nginx</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">服务用户组统一。</span>
</div>

<div style="background-color: inherit;">
    --with-gd&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">gd</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">库的支持</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-bz2&nbsp;\
    </div>
</div>

<div style="background-color: inherit;">
    --with-iconv&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">libiconv</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">库</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">各种字符集间的转换</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-libxml-dir \
    </div>
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">libxml2</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">库的支持</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --enable-exif&nbsp;\
    </div>
</div>

<div style="background-color: inherit;">
    --with-zlib&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">zlib</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">库的支持</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">用于</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">http</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">压缩传输</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-zlib-dir&nbsp;\
    </div>
</div>

<div style="background-color: inherit;">
    --enable-mysqlnd&nbsp;\
</div>

<div style="background-color: inherit;">
    --enable-xml&nbsp;\
</div>

<div style="background-color: inherit;">
    <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">--</span><span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">enable</span><span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">-</span><span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">shared \</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-xpm-dir \
    </div>
</div>

<div style="background-color: inherit;">
    --enable-bcmath&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开图片大小调整</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">用</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">zabbix</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">监控时会用到该模块</span>
</div>

<div style="background-color: inherit;">
    --enable-shmop&nbsp;\
</div>

<div style="background-color: inherit;">
    --enable-sysvsem&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">使用</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">sysv</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">信号机制</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">则打开此选项</span>
</div>

<div style="background-color: inherit;">
    --enable-inline-optimization&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">优化线程</span>
</div>

<div style="background-color: inherit;">
    --enable-mbregex&nbsp;\
</div>

<div style="background-color: inherit;">
    <span style="line-height: 1.5; background-color: inherit;">--enable-fpm&nbsp;\</span>
</div>

<div style="background-color: inherit;">
    <span style="line-height: 1.5; background-color: inherit;"><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">表示激活</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">PHP-FPM</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">方式服务</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">即</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">FactCGI</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">方式运行</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">PHP</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">服务。</span></span>
</div>

<div style="background-color: inherit;">
    <span style="font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; background-color: inherit;">--</span><span style="font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; background-color: inherit;">enable</span><span style="font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; background-color: inherit;">-</span><span style="font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; background-color: inherit;">fastcgi \</span>
</div>

<div style="background-color: inherit;">
    --enable-mbstring&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">支持</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">mbstring</span>
</div>

<div style="background-color: inherit;">
    --enable-ftp&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(96, 103, 119); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span></span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">ftp</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">的支持</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --disable-rpath&nbsp;\
    </div>
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">关闭额外的运行库文件</span>
</div>

<div style="background-color: inherit;">
    <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">--</span><span style="color: rgb(0, 0, 139); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">with</span><span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">-</span><span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;">mhash \</span>
</div>

<div style="background-color: inherit;">
    <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span lang="EN-US" style="color: rgb(96, 103, 119); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span></span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">mhash</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">算法的扩展</span></span>
</div>

<div style="background-color: inherit;">

        <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="background-color: inherit;">--enable-short-tags<span style="background-color: inherit;">&nbsp;\</span></span></span></span>

        <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; background-color: inherit;">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; background-color: inherit;">开始和标记函数</span></span></span>

        <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="background-color: inherit;">--enable-zend-multibyte \</span></span></span>

        <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="background-color: inherit;"><span style="background-color: inherit;">&nbsp;</span></span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; background-color: inherit;">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; background-color: inherit;">支持</span><span lang="EN-US" style="color: rgb(4, 50, 255); background-color: inherit;">zend</span><span style="color: rgb(4, 50, 255); font-family: 宋体; background-color: inherit;">的多字节</span></span></span>

        <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(4, 50, 255); font-family: 宋体; background-color: inherit;"><span lang="EN-US" style="color: rgb(96, 103, 119); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">--enable-static \</span></span></span></span>

        <span style="color: rgb(0, 0, 0); font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace, serif; font-size: 13.56px; font-style: normal; font-weight: normal; background-color: inherit;"><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(4, 50, 255); font-family: 宋体; background-color: inherit;"><span lang="EN-US" style="color: rgb(96, 103, 119); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="background-color: inherit;">&nbsp;</span></span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">生成静态链接库</span></span></span></span>

</div>

<div style="background-color: inherit;">
    --enable-gd-native-ttf&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">支持</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">TrueType</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">字符串函数库</span>
</div>

<div style="background-color: inherit;">
    --with-openssl&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">openssl</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">的支持</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">加密传输时用到</span>
</div>

<div style="background-color: inherit;">
    --enable-pcntl&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">freeTDS</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">需要用到</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">,</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">可能是链接</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">mssql</span>
</div>

<div style="background-color: inherit;">
    --enable-sockets&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">sockets</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">支持</span>
</div>

<div style="background-color: inherit;">
    --with-xmlrpc&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">xml-rpc</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">的</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">c</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">语言</span>
</div>

<div style="background-color: inherit;">
    --enable-zip&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开对</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">zip</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">的支持</span>
</div>

<div style="background-color: inherit;">
    --enable-soap&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">soap</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">模块的扩展</span>
</div>

<div style="background-color: inherit;">
    --without-pear&nbsp;\
</div>

<div style="background-color: inherit;">
    --with-gettext&nbsp;\
</div>

<div style="background-color: inherit;">
    --enable-session&nbsp;\
</div>

<div style="background-color: inherit;">
    --with-curl&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">curl</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">浏览工具的支持</span>
</div>

<div style="background-color: inherit;">
    <span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(96, 103, 119); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">--with-curlwrappers \</span></span>
</div>

<div style="background-color: inherit;">
    <span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span style="color: rgb(96, 103, 119); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);"><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">运维</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">curl</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">工具打开</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">url</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">流</span></span></span>
</div>

<div style="background-color: inherit;">
    --with-jpeg-dir&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开对</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">jpeg</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">图片的支持</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-png-dir \
    </div>
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开对</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">png</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">图片的支持</span>
</div>

<div style="background-color: inherit;">
    --with-freetype-dir&nbsp;\
</div>

<div style="background-color: inherit;">
    <span lang="EN-US" style="color: rgb(4, 50, 255); font-family: Wingdings; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">&szlig;</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">打开对</span><span lang="EN-US" style="color: rgb(4, 50, 255); font-family: &quot;Microsoft YaHei&quot;, 微软雅黑, Helvetica, Arial, sans-serif; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">freetype</span><span style="color: rgb(4, 50, 255); font-family: 宋体; font-size: 13px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255);">字体库支持</span>
</div>

<div style="background-color: inherit;">
    <div style="background-color: inherit;">
        --with-libdir=lib64 \
    </div>

    <div style="background-color: inherit;">
        <span style="line-height: 1.5; background-color: rgb(255, 255, 255);">--enable-maintainer-zts \</span>
    </div>
</div>

<div style="background-color: inherit;">
    --enable-opcache
</div>

# 编译安装

make &amp;&amp; make install

# 配置

cp /opt/php-5.6.22/php.ini-production&nbsp; /usr/local/php5/etc/php.ini

修改php.ini

vim /usr/local/php5/etc/php.ini

<span style="font: 14px/21px &quot;microsoft yahei&quot;, Georgia, &quot;Times New Roman&quot;, STHeiti, serif; color: rgb(255, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-stroke-width: 0px;">date.timezone = PRC</span>

post_max_size = 32M

max_execution_time = 300

max_input_time = 300

always_populate_raw_post_data = -1

echo &quot;cgi.fix_pathinfo=0&quot;&nbsp; &gt;&gt; /usr/local/php5/etc/php.ini

# 配置opcache

zend_extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226/opcache.so

############

或者

echo &quot;zend_extension=/usr/local/php5/lib/php/extensions/no-debug-non-zts-20131226/opcache.so&quot; &gt;&gt;&nbsp; /usr/local/php5/etc/php.ini

可以修改配置:

[http://blog.163.com/saintatgod@126/blog/static/359479982010117620708/](http://blog.163.com/saintatgod@126/blog/static/359479982010117620708/)

cp /opt/php-5.6.22/sapi/fpm/init.d.php-fpm&nbsp; /etc/init.d/php-fpm

chmod +x /etc/init.d/php-fpm

chkconfig --add php-fpm

chkconfig php-fpm on

cp /usr/local/php5/etc/php-fpm.conf.default&nbsp; /usr/local/php5/etc/php-fpm.conf

vi /usr/local/php5/etc/php-fpm.conf

默认配置

[global]

[www]

user = nginx

group = nginx

listen = 127.0.0.1:9000

pm = dynamic

pm.max_children = 5

pm.start_servers = 2

pm.min_spare_servers = 1

pm.max_spare_servers = 3

优化(选用)

[global]

[www]

user = nginx

group = nginx

;;;listen = 127.0.0.1:9000

listen = /var/run/php-fpm.sock

listen.owner = nginx

listen.group = nginx

listen.mode = 0660

pm = dynamic

pm.max_children = 200

pm.start_servers = 60

pm.min_spare_servers = 40

pm.max_spare_servers = 80

pm.max_requests =500

##

# 启动

/etc/init.d/php-fpm start

加环境变量中vi /etc/profile

export PATH=$PATH:/usr/local/php5/bin

source&nbsp; /etc/profile

# 查看PHP版本

/usr/local/php5/bin/php -v

&nbsp;ps -ef |grep php


######################################



#
php设置时区的两种方法


 


php5后都要自己设置时区,要么修改php.ini的设置,要么在代码里修改。

 

在PHP.INI中设置时区

date.timezone = PRC

 

#或者

#date.timezone = "Asia/Shanghai"

#date.default_latitude = 31.5167

#date.default_longitude = 121.4500

 

 

在代码中设置时区

 

1 date_default_timezone_set('Asia/Shanghai');//'Asia/Shanghai'   亚洲/上海

2 date_default_timezone_set('Asia/Chongqing');//其中Asia/Chongqing'为“亚洲/重庆”

3 date_default_timezone_set('PRC');//其中PRC为“中华人民共和国”

4i ni_set('date.timezone','Etc/GMT-8');

5 ini_set('date.timezone','PRC');

6 ini_set('date.timezone','Asia/Shanghai');

7 ini_set('date.timezone','Asia/Chongqing');

 

以上七种方法,任意一个都可以满足我们需求。

系统初始化时,加上

 ini_set('date.timezone','Asia/Shanghai');  或date_default_timezone_set("PRC");  就将解决时区相差8

小时的问题。

################