<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 功能強大 支持多語言、二開方便! 廣告
                ## 只安裝命令行 適合只使用 MixPHP 的多進程命令行開發、協程命令行開發,WebSocket 開發等這些傳統框架所不具備的高級功能,而不使用其他功能的用戶。 ## 環境要求 >[success] 必須的 - PHP 版本 >= 7.0 - Swoole >= 1.9.5 (常駐同步模式) - Swoole >= 4.2.2 (常駐協程模式) - mbstring 擴展 >[success] 可選的 - Composer (修改一級目錄,安裝第三方庫需要) - gd 擴展 (Image組件需要) - pdo 擴展 (Pdo組件需要) - redis 擴展 (Redis組件需要) ## 環境搭建 ### 1. 安裝 Swoole 擴展 pecl 在 php/bin 目錄,國內 pecl 安裝 swoole 有時很慢,如果無法忍受,可選擇 [編譯安裝](https://wiki.swoole.com/wiki/page/6.html)。 ~~~shell $> pecl install swoole ~~~ ### 2. 安裝 MixPHP 使用 [composer](https://www.phpcomposer.com/) 安裝,但是一般情況下,`composer` 安裝的是最新的穩定版本,不一定是最新版本。 ```shell composer create-project mixstart/mixphp --prefer-dist ``` 如果你需要安裝實時更新的版本: ```shell composer create-project mixstart/mixphp=v1.1.1 --prefer-dist ``` 入口文件安裝至 `/usr/local/bin`,(可選,不安裝可直接執行入口文件)。 ```shell $> cd /data/mixphp-master $> chmod 777 install.sh $> ./install.sh ``` ### 3. 確認安裝成功 查看命令行程序的幫助。 ~~~shell $> mix-console -h ~~~ 執行成功將顯示默認注冊的全部命令。 ~~~shell $> mix-console -h Usage: ./mix-console [command] [options] Commands: - assemblyline assemblyline exec - push push exec - clear clear exec - coroutine coroutine exec ~~~ ### 4. 刪除多余模塊 默認代碼里有以下模塊,如果只使用其中某一模塊的功能,可以根據需要刪除多余的模塊。 ~~~txt apps/ ├── common ├── console ├── daemon ├── httpd └── websocketd ~~~
                  <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>

                              哎呀哎呀视频在线观看