欧美亚洲中文,在线国自产视频,欧洲一区在线观看视频,亚洲综合中文字幕在线观看

      1. <dfn id="rfwes"></dfn>
          <object id="rfwes"></object>
        1. 站長(zhǎng)資訊網(wǎng)
          最全最豐富的資訊網(wǎng)站

          一文講解Ubuntu原生安裝Swoole擴(kuò)展的方法

          下面由centos教程欄目給大家介紹Ubuntu 原生安裝 Swoole 擴(kuò)展的方法,希望對(duì)需要的朋友有所幫助!

          Ubuntu 原生安裝 Swoole 擴(kuò)展

          官方編譯安裝教程 點(diǎn)擊(https://wiki.swoole.com/#/environment)

          進(jìn)入 swoole 的 Github 版本列表,選擇最新版本的壓縮包下載

          swoole 版本列表(https://github.com/swoole/swoole-src/releases)

          $ wget https://github.com/swoole/swoole-src/archive/refs/tags/v4.8.0.zip

          下載完成后進(jìn)行操作

          # 如果沒有unzip 的話 $ apt-get unzip #之后解壓下載的壓縮包 $ unzip v4.8.0.zip # 進(jìn)入目錄 $ cd v4.8.0.zip # 編譯 $ phpize # ubuntu 沒有安裝 phpize 可執(zhí)行命令下面的這個(gè)來安裝 phpize $ sudo apt-get install php-dev  # 編譯配置檢測(cè) $ ./configure --enable-openssl --enable-http2 --enable-swoole-curl --enable-swoole-json # 編譯 $ make # 安裝 $ make install #查看擴(kuò)展 $ php --ri swoole

          如果顯示以下代碼 正確

          Swoole => enabled Author => Swoole Team <team@swoole.com> Version => 4.8.0 Built => Oct 15 2021 09:34:32 coroutine => enabled with boost asm context epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled openssl => OpenSSL 1.1.1f  31 Mar 2020 dtls => enabled http2 => enabled json => enabled curl-native => enabled zlib => 1.2.11 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled async_redis => enabled Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => Off => Off swoole.unixsock_buffer_size => 8388608 => 8388608

          推薦學(xué)習(xí):《centos教程》

          贊(0)
          分享到: 更多 (0)
          網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)