<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                [TOC] ## 安裝依賴 yum ``` yum install gcc libxml2-devel cmake ncurses-devel perl-Data-Dumper libaio libxml2 openssl openssl-devel bzip2 bzip2-devel libcurl-devel libcurl libjpeg-devel libpng libpng-devel freetype-devel gmp-devel readline-devel libxslt libxslt-devel libmcrypt libmcrypt-devel oniguruma oniguruma-devel libzip libzip-devel ``` <details> <summary>apt -編譯依賴</summary> ``` apt-get install \ build-essential \ gcc \ g++ \ autoconf \ bison \ pkg-config \ re2c \ make \ // 需要so文件的 apt install \ libiconv-hook-dev \ libmcrypt-dev \ libxml2-dev \ libjpeg8-dev \ libssl-dev \ libssl-doc \ libldb-dev \ libldap2-dev \ libbz2-dev \ libjpeg-dev \ libgmp-dev \ libreadline6-dev \ libxslt1-dev \ libzip-dev \ libldap-2.4-2 \ libldap2-dev \ libcurl-openssl-dev \ libcurl4-openssl-dev \ ``` </details> <br/> ## php 編譯 為了提交編譯效率,可先編譯依賴較少的模塊,openssl 與 GD 庫可進行模塊編譯 ``` ./configure --prefix=/usr/local/php \ --with-openssl \ --with-mysqli --with-pdo-mysql \ --enable-mbstring \ --with-zlib \ --enable-sockets \ --with-curl \ --with-pcre-regex \ --with-freetype-dir \ --enable-gd-native-ttf \ --enable-opcache \ --disable-maintainer-zts \ // 可選 --with-config-file-path=/etc/php/ \ //默認 /usr/local/php/lib --with-config-file-scan-dir=/etc/php/php.d \ //默認 空 // nginx 添加一下編譯選項 --enable-fpm // apache 添加一下編譯選項 --with-apxs2=/usr/local/apache2/bin/apxs ``` > 線程安全則擴展目錄為`no-debug-zts-20131226` > 非線程安全則擴展目錄為`no-debug-no-zts-20131226` ### 修改配置 ``` > cd /usr/local/src/ > cp php.ini-development /usr/local/php/lib/php.ini // nginx 需要使用 php-fpm > cd /usr/local/php > cp etc/php-fpm.conf.default etc/php-fpm.conf > vi etc/php-fpm.conf user = www group = www //如不存在www,則添加 www 用戶與群 > groupadd www > useradd -g www www ``` ### 啟動/停止 php-fpm ``` /usr/local/php/sbin/php-fpm killall php-fpm ``` ## 問題 ### 某個 xxx.h 沒有找到 如沒找到 easy.h ``` > find / -name easy.h /data/home/bigant/curl-master/include/curl/easy.h > cp -R /home/bigant/ww/curl-master/include/curl /usr/local/include/ 編譯帶路徑 --with-curl=/usr/local ``` 如果是國產化機器 ``` find / -name easy.h sudo mkdir -p /usr/include/aarch64-linux-gnu/curl/include/curl sudo ln -s /usr/include/aarch64-linux-gnu/curl/easy.h /usr/include/aarch64-linux-gnu/curl/include/curl 或 ln -s /usr/include/aarch64-linux-gnu/curl /usr/include/ ```
                  <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>

                              哎呀哎呀视频在线观看