<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之旅 廣告
                >[info] 管理控制臺使用 ![](https://img.kancloud.cn/70/80/7080dc549e0576952f5e44c774c329ee_1441x611.png) >[info] PHP 安裝 AMQP 擴展 PHP 使用 AMQP 協議來連接 Rabbitmq, AMQP 協議即 “Advanced Message Queuing Protocol ”,高級消息隊列協議。 ***** 使 PHP 支持 AMQP 協議,需要安裝: * rabbitmq 的客戶端 C 類庫 :[rabbitmq-c](https://github.com/alanxz/rabbitmq-c?_blank) * PHP 官方提供的 AMQP 擴展 [amqp-1.6.1](https://pecl.php.net/get/amqp-1.6.1.tgz?_blank) 兩者的關系是,PHP 擴展依賴 rabbitmq-c 類庫。 1. 安裝 rabbitmq-c : ``` wget -c https://github.com/alanxz/rabbitmq-c/releases/download/v0.8.0/rabbitmq-c-0.8.0.tar.gz && tar xvzf rabbitmq-c-0.8.0.tar.gz && cd rabbitmq-c-0.8.0 ./configure --prefix=/usr/local/rabbitmq-c-0.8.0 make && make install ``` 2. 安裝 AMQP 擴展: ``` wget -c http://pecl.php.net/get/amqp-1.10.0.tgz && tar zxvf amqp-1.10.0.tgz && cd amqp-1.10.0 # 根據自身php地址更改 /www/server/php/74/bin/phpize # 根據自身bin/php-config 地址更改 ./configure --with-php-config=/www/server/php/74/bin/php-config --with-amqp --with-librabbitmq-dir=/usr/local/rabbitmq-c-0.8.0 # 注意:php74 amqp 為 1.10.0 make && make install ``` 3. 添加php模塊 ``` vim /www/server/php/74/etc/php.ini extension = amqp.so /etc/init.d/php-fpm-74 restart # 查看擴展 php phpinfo.php ``` ![](https://img.kancloud.cn/77/3f/773f8502ba6f7bf61c8aac8f6b640eeb_1257x416.png) *****
                  <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>

                              哎呀哎呀视频在线观看