<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                #### 安裝依賴 ```shell yum install zlib-devel libxml2-devel libjpeg-turbo-devel freetype-devel libpng-devel gd-devel libcurl-devel libmcrypt libmcrypt-devel mhash mhash-devel mcrypt libxslt-devel openssl openssl-devel ``` ##### 依賴包注釋 ```shell zlib-devel #壓縮支持 libxml2-devel #管理xml文件 libjpeg-turbo-devel #使用libjpeg實現圖像的輸入輸出和像素讀寫 freetype-devel #渲染字體 libpng #解析png圖片 gd-devel #php處理圖形的擴展庫 libcurl-devel #用不同協議溝通不同服務器 libmcrypt #提供統一接口的對稱加密算法庫 mcrypt #加密算法擴展庫 mhash #不可逆向的php加密方式擴展庫 libxslt-devel #轉換XML文件 ``` ##### libiconv需編譯安裝 #支持編碼轉換 ```shell cd /opt/ wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz tar xzf libiconv-1.15.tar.gz cd libiconv-1.15 ./configure --prefix=/usr/local/libiconv make && make install echo $? ``` #### 安裝PHP 5.6 ```shell ./configure \ --prefix=/usr/local/php-5.6.30 \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --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-bcmath \ --enable-shmop \ --enable-sysvsem \ --enable-inline-optimization \ --with-curl \ --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-soap \ --enable-short-tags \ --enable-static \ --with-xsl \ --with-fpm-user=nginx \ --with-fpm-group=nginx \ --enable-ftp ``` 和PHP5.3的編譯參數區別 ```shell --enable-safe-mode --with-curlwrappers --enable-zip --enable-zend-multibyte ``` 建立軟連接 ```shell ln -s /usr/local/php-5.6.30 /usr/local/php ``` #### 配置PHP 復制生產配置文件 ```shell cp /opt/php-*/php.ini-production /usr/local/php/lib/php.ini cd /usr/local/php/etc && cp php-fpm.conf.default php-fpm.conf mkdir /app/logs ``` 需要編輯部分 ```shell cat > /usr/local/php/etc/php-fpm.conf <<EOF [global] pid = /app/logs/php-fpm.pid error_log = /app/logs/php-fpm.log log_level = error rlimit_files = 65535 events.mechanism = epoll [www] user = nginx group = nginx listen = 127.0.0.1:9000 pm = dynamic pm.max_children = 1024 pm.start_servers = 16 pm.min_spare_servers = 1 pm.max_spare_servers = 20 slowlog = /app/logs/$pool.log.slow request_slowlog_timeout = 10 EOF ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看