<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之旅 廣告
                全部平臺在 http://pecl.php.net 下載擴展。 <br> ___ <br> ## Windows 在pecl官網搜索下載**DLL**擴展安裝,放到php的ext目錄,然后編輯php.ini開啟擴展。 <br> ___ <br> ## Mac Mac需要編譯安裝擴展。 #### (1)下載擴展 先在[pecl.php.net]()搜索你需要的擴展并下載 如果擴展詳細頁提示“This package is not maintained anymore and has been superseded”,例如"pdo_pgsql" 或者壓根沒有搜到這個擴展,例如"pcntl" 那么這個擴展應該在在php源碼里,此時你需要下載對應php版本的源碼,擴展目錄在 **php源碼目錄/ext** #### (2) 編譯安裝: 如果是 intel 芯片的Mac,直接常規編譯安裝。 如果是M1、M2等Apple芯片的Arm64 Mac,需要編譯之前讓終端處于 -x86_64 環境 `arch -x86_64 zsh` (僅Apple Mac) 如果擴展依賴第三方庫,那么還需要安裝 x86_64 的 Homebrew `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` (僅Apple Mac) 用作安裝 x86_64 的庫。 `/usr/local/homebrew/bin/brew install 類庫`(僅Apple Mac) 然后需要導出如下變量(僅Apple Mac) ``` export CFLAGS=-I/usr/local/homebrew/include export CPPFLAGS=-I/usr/local/homebrew/include export LDFLAGS=-L/usr/local/homebrew/lib ``` ___ 最終不同芯片的Mac通用執行的命令是 ``` cd php源碼的擴展目錄或下載的擴展目錄(如/Users/你的賬戶/Downloads/php-7.4.33/ext/pcntl) 絕對路徑/php-x.x/bin/phpize (如/Applications/EServer/software/php/php-7.4/bin/phpize) ./configure --with-php-config=絕對路徑/php-x.x/bin/php-config (可以后面接其他 --with) make && make install ``` 然后查看xxx.so擴展文件是否安裝(復制)到php的ext目錄,如果沒有,需要手動復制。 然后編輯php.ini開啟擴展。
                  <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>

                              哎呀哎呀视频在线观看