Win10家庭版WSL2安装Centos7.8


Win10家庭版WSL2安装Centos7.8


WSL2安装

步骤 1 - 检查运行 WSL 2 的要求

WSL2对Win10版本的要求:

对于 x64 系统:版本 1903 或更高版本,采用 内部版本 18362 或更高版本。
对于 ARM64 系统:版本 2004 或更高版本,采用 内部版本 19041 或更高版本。
低于 18362 的版本不支持 WSL 2。 使用 Windows Update 助手更新 Windows 版本。

win + R 输入 winver 确定。

如果不满足,更新版本。

步骤 2 - 启用适用于 Linux 的 Windows 子系统

以管理员身份打开 PowerShell 并运行:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

步骤 3 - 启用虚拟机功能

以管理员身份打开 PowerShell 并运行:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

重新启动 计算机,以完成 WSL 安装并更新到 WSL 2。

步骤 4 - 下载 Linux 内核更新包

PowerShell 输入:systeminfo 查看 “System Type” 确认 系统类型。

下载 WSL2 Linux 内核更新包,如 x64 的 https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi

运行上一步中下载的更新包。 (双击以运行 - 系统将提示你提供提升的权限,选择“是”以批准此安装。)

步骤 5 - 将 WSL 2 设置为默认版本

打开 PowerShell,将 WSL 2 设置为默认版本:

wsl --set-default-version 2

这时WSL2就安装完成,查看帮助:

wsl --help

步骤 6 - 安装所选的 Linux 分发

如果想用Ubuntu等Linux,可以在 微软软件商店 下载安装。Centos在这里是收费的,可以选择手动安装。

上述细节

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS C:\Windows\system32> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

部署映像服务和管理工具
版本: 10.0.19041.844

映像版本: 10.0.19043.1165

启用一个或多个功能
[==========================100.0%==========================]
操作成功完成。
PS C:\Windows\system32>
PS C:\Windows\system32>
PS C:\Windows\system32> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

部署映像服务和管理工具
版本: 10.0.19041.844

映像版本: 10.0.19043.1165

启用一个或多个功能
[==========================100.0%==========================]
操作成功完成。
PS C:\Windows\system32>
PS C:\Windows\system32>
PS C:\Windows\system32> systeminfo | find "System Type"
PS C:\Windows\system32>
PS C:\Windows\system32> systeminfo | find "系统类型"
FIND: 参数格式不正确
PS C:\Windows\system32> systeminfo

主机名:           BAIYANG-PC
OS 名称:          Microsoft Windows 10 家庭中文版
OS 版本:          10.0.19043 暂缺 Build 19043
OS 制造商:        Microsoft Corporation
OS 配置:          独立工作站
OS 构建类型:      Multiprocessor Free
注册的所有人:     baiyang@email.com
注册的组织:
产品 ID:          00342-33297-06537-AAOEM
初始安装日期:     2020/8/19, 21:57:21
系统启动时间:     2021/8/24, 20:46:12
系统制造商:       LENOVO
系统型号:         20FWA020CD
系统类型:         x64-based PC
处理器:           安装了 1 个处理器。
                  [01]: Intel64 Family 6 Model 94 Stepping 3 GenuineIntel ~2300 Mhz
BIOS 版本:        LENOVO R07ET72W (2.12 ), 2016/10/28
Windows 目录:     C:\Windows
系统目录:         C:\Windows\system32
启动设备:         \Device\HarddiskVolume1
系统区域设置:     zh-cn;中文(中国)
输入法区域设置:   zh-cn;中文(中国)
时区:             (UTC+08:00) 北京,重庆,香港特别行政区,乌鲁木齐
物理内存总量:     24,441 MB
可用的物理内存:   19,202 MB
虚拟内存: 最大值: 28,025 MB
虚拟内存: 可用:   22,608 MB
虚拟内存: 使用中: 5,417 MB
页面文件位置:     C:\pagefile.sys
域:               WORKGROUP
登录服务器:       \\BAIYANG-PC
修补程序:         安装了 14 个修补程序。
                  [01]: KB5004331
                  [02]: KB4561600
                  [03]: KB4570334
                  [04]: KB4576754
                  [05]: KB4577266
                  [06]: KB4577586
                  [07]: KB4580325
                  [08]: KB4586864
                  [09]: KB4589212
                  [10]: KB4593175
                  [11]: KB4598481
                  [12]: KB5000736
                  [13]: KB5005033
                  [14]: KB5005260
网卡:             安装了 4 个 NIC。
                  [01]: Intel(R) Ethernet Connection (2) I219-LM
                      连接名:      以太网
                      状态:        媒体连接已中断
                  [02]: Intel(R) Dual Band Wireless-AC 8260
                      连接名:      WLAN
                      启用 DHCP:   是
                      DHCP 服务器: 192.168.123.1
                      IP 地址
                        [01]: 192.168.123.163
                        [02]: fe80::b42d:38e0:7af1:eb6f
                  [03]: VirtualBox Host-Only Ethernet Adapter
                      连接名:      VirtualBox Host-Only Network
                      启用 DHCP:   否
                      IP 地址
                        [01]: 192.168.56.1
                        [02]: fe80::350e:3a2e:501b:4a41
                  [04]: TAP-Windows Adapter V9
                      连接名:      以太网 3
                      状态:        媒体连接已中断
Hyper-V 要求:     虚拟机监视器模式扩展: 是
                  固件中已启用虚拟化: 是
                  二级地址转换: 是
                  数据执行保护可用: 是
PS C:\Windows\system32>
PS C:\Users\zhuyi> wsl --list --verbose
适用于 Linux 的 Windows 子系统没有已安装的分发版。
可以通过访问 Microsoft Store 来安装分发版:
https://aka.ms/wslstore
PS C:\Users\zhuyi> wsl --set-default-version 2
有关与 WSL 2 的主要区别的信息,请访问 https://aka.ms/wsl2
操作成功完成。
PS C:\Users\zhuyi>
PS C:\Users\zhuyi>
PS C:\Users\zhuyi> wsl --help
版权所有 (c) Microsoft Corporation。保留所有权利。

用法: wsl.exe [参数] [选项...] [命令行]

运行 Linux 二进制文件的参数:

    如果未提供命令行,wsl.exe 将启动默认 shell。

    --exec, -e <命令行>
        在不使用默认 Linux Shell 的情况下执行指定的命令。

    --
        按原样传递其余命令行。

选项:
    --distribution, -d <Distro>
        运行指定的发行版。

    --user, -u <UserName>
        以指定用户身份运行。

用于管理适用于 Linux 的 Windows 子系统的参数:

    --help
        显示用法信息。

    --install [选项]
        安装额外的适用于 Linux 的 Windows 子系统分发。
         要获得有效分发列表,请使用“wsl --list --online”。

        选项:
            --distribution, -d [参数]
                按名称下载并安装分发。

                参数:
                    有效分发名称(不区分大小写)。

                示例:
                    wsl --install -d Ubuntu
                    wsl --install --distribution Debian

    --set-default-version <版本>
        更改新分发的默认安装版本。

      --shutdown
         立即终止所有运行的分发及 WSL 2
        轻型工具虚拟机。

         --status
           显示适用于 Linux 的 Windows 子系统的状态。

    --update [选项]
        如果未指定任何选项,则 WSL 2 内核将更新
        到最新版本。

             选项:
         --rollback
                还原到 WSL 2 内核的先前版本。

用于管理适用于 Linux 的 Windows 子系统中的分发的参数:

    --set-default-version <版本>
         将分发导出到 tar 文件。
        对于标准输出,文件名可以是 –。

    --import <分发> <安装位置> <文件名> [选项]
            将指定的 tar 文件作为新分发导入。
          对于标准输入,文件名可以是 –。

        选项:
            --version <版本>
                指定要用于新分发的版本。

    --list, -l [选项]
        列出分发。

        选项:
            --all
                列出所有分发,包括
        当前正在安装或卸载的分发。

            --running
                仅列出当前正在运行的分发。

            --quiet, -q
                仅显示分发名称。

            --verbose, -v
                显示所有分发的详细信息。

            --online, -o
                显示使用“wsl --install”进行安装的可用分发列表。

    --set-default, -s <分发>
        将分发设置为默认值。

    --set-version <分发> <版本>
        更改指定分发的版本。

    --terminate, -t <分发>
        终止指定的分发。

    --unregister <分发>
        注销分发并删除根文件系统。
PS C:\Users\zhuyi>

环境配置

为了管理虚拟机包,我们可以使用 LxRunOffline 。

Chocolatey安装

Chocolatey是一个Windows下的包管理器,类似于Linux下的apt-get或yum。

以管理员身份打开 PowerShell 并运行:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

输出:

PS C:\Windows\system32>
PS C:\Windows\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Forcing web requests to allow TLS v1.2 (Required for requests to Chocolatey.org)
Getting latest version of the Chocolatey package for download.
Not using proxy.
Getting Chocolatey from https://community.chocolatey.org/api/v2/package/chocolatey/0.10.15.
Downloading https://community.chocolatey.org/api/v2/package/chocolatey/0.10.15 to C:\Users\zhuyi\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip
Not using proxy.
Extracting C:\Users\zhuyi\AppData\Local\Temp\chocolatey\chocoInstall\chocolatey.zip to C:\Users\zhuyi\AppData\Local\Temp\chocolatey\chocoInstall
Installing Chocolatey on the local machine
Creating ChocolateyInstall as an environment variable (targeting 'Machine')
  Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'
WARNING: It's very likely you will need to close and reopen your shell
  before you can use choco.
Restricting write permissions to Administrators
We are setting up the Chocolatey package repository.
The packages themselves go to 'C:\ProgramData\chocolatey\lib'
  (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).
A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin'
  and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

Creating Chocolatey folders if they do not already exist.

WARNING: You can safely ignore errors related to missing log files when
  upgrading from a version of Chocolatey less than 0.9.9.
  'Batch file could not be found' is also safe to ignore.
  'The system cannot find the file specified' - also safe.
chocolatey.nupkg file not installed in lib.
 Attempting to locate it from bootstrapper.
PATH environment variable does not have C:\ProgramData\chocolatey\bin in it. Adding...
警告: Not setting tab completion: Profile file does not exist at
'C:\Users\zhuyi\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.
Chocolatey (choco.exe) is now ready.
You can call choco from anywhere, command line or powershell by typing choco.
Run choco /? for a list of functions.
You may need to shut down and restart powershell and/or consoles
 first prior to using choco.
Ensuring Chocolatey commands are on the path
Ensuring chocolatey.nupkg is in the lib folder
PS C:\Windows\system32>
PS C:\Windows\system32>

LxRunOffline安装

WSL 管理软件:LxRunOffline,它可以安装任意发行版到任意目录、转移已安装的 WSL 目录、备份 WSL、设置默认用户和修改环境变量等操作。

以管理员身份打开 PowerShell 并运行:

choco install lxrunoffline -y

输出:

PS C:\Windows\system32> choco install lxrunoffline -y
Chocolatey v0.10.15
Installing the following packages:
lxrunoffline
By installing you accept licenses for the packages.
Progress: Downloading lxrunoffline 3.5.0... 100%

lxrunoffline v3.5.0 [Approved]
lxrunoffline package files install completed. Performing other installation steps.
Progress: 100% - Running                                   Microsoft.Dism.Commands.ImageObject
Downloading lxrunoffline
  from 'https://github.com/DDoSolitary/LxRunOffline/releases/download/v3.5.0/LxRunOffline-v3.5.0-msvc.zip'
Progress: 100% - Completed download of C:\Users\zhuyi\AppData\Local\Temp\chocolatey\lxrunoffline\3.5.0\lxrunofflineInstall.zip (2.54 MB).
Download of lxrunofflineInstall.zip (2.54 MB) completed.
Hashes match.
Extracting C:\Users\zhuyi\AppData\Local\Temp\chocolatey\lxrunoffline\3.5.0\lxrunofflineInstall.zip to C:\tools\lxrunoffline...
C:\tools\lxrunoffline
PATH environment variable does not have C:\tools\lxrunoffline in it. Adding...
Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
 The install of lxrunoffline was successful.
  Software installed to 'C:\tools\lxrunoffline'

Chocolatey installed 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\Windows\system32>

注意这里安装完成之后,需要退出重启 PowerShell 才能使用。

PS C:\Users\zhuyi> lxrunoffline --help
[ERROR] The action "--help" is not recognized.

Supported actions are:
    l, list            List all installed distributions.
    gd, get-default    Get the default distribution, which is used by bash.exe.
    sd, set-default    Set the default distribution, which is used by bash.exe.
    i, install         Install a new distribution.
    ui, uninstall      Uninstall a distribution.
    rg, register       Register an existing installation directory.
    ur, unregister     Unregister a distribution but not delete the installation directory.
    m, move            Move a distribution to a new directory.
    d, duplicate       Duplicate an existing distribution in a new directory.
    e, export          Export a distribution's filesystem to a .tar.gz file, which can be imported by the "install" command.
    r, run             Run a command in a distribution.
    di, get-dir        Get the installation directory of a distribution.
    gv, get-version    Get the filesystem version of a distribution.
    ge, get-env        Get the default environment variables of a distribution.
    se, set-env        Set the default environment variables of a distribution.
    ae, add-env        Add to the default environment variables of a distribution.
    re, remove-env     Remove from the default environment variables of a distribution.
    gu, get-uid        Get the UID of the default user of a distribution.
    su, set-uid        Set the UID of the default user of a distribution.
    gk, get-kernelcmd  Get the default kernel command line of a distribution.
    sk, set-kernelcmd  Set the default kernel command line of a distribution.
    gf, get-flags      Get some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.
    sf, set-flags      Set some flags of a distribution. See https://docs.microsoft.com/en-us/previous-versions/windows/desktop/api/wslapi/ne-wslapi-wsl_distribution_flags for details.
    s, shortcut        Create a shortcut to launch a distribution.
    ec, export-config  Export configuration of a distribution to an XML file.
    ic, import-config  Import configuration of a distribution from an XML file.
    sm, summary        Get general information of a distribution.
    version            Get version information about this LxRunOffline.exe.
PS C:\Users\zhuyi>

Centos7.8安装

我们先到Centos的github地址下载软件包 centos-7.8.2003-x86_64-docker.tar.xz

LxRunOffline 安装格式:

LxRunOffline install -n 自定义系统名称 -d 安装目录路径 -f tar.xz安装包路径

例如我们这里将centos7.8安装到G盘的centos78文件夹下,并且命名为centos78,以普通用户身份打开 PowerShell 就可以运行:

LxRunOffline install -n centos78 -d G:/centos78 -f G:/softBox/centos-7.8.2003-x86_64-docker.tar.xz

查看安装的包:

PS C:\Users\zhuyi> wsl -l -v
  NAME        STATE           VERSION
* centos78    Stopped         1
PS C:\Users\zhuyi>

转换版本为WSL2:

PS C:\Users\zhuyi> wsl --set-version centos78 2
正在进行转换,这可能需要几分钟时间...
有关与 WSL 2 的主要区别的信息,请访问 https://aka.ms/wsl2
转换完成。
PS C:\Users\zhuyi>
PS C:\Users\zhuyi>
PS C:\Users\zhuyi> wsl -l -v
  NAME        STATE           VERSION
* centos78    Stopped         2
PS C:\Users\zhuyi>
PS C:\Users\zhuyi> wsl --set-default-version 2
有关与 WSL 2 的主要区别的信息,请访问 https://aka.ms/wsl2
操作成功完成。
PS C:\Users\zhuyi>

启动CentOS7.8

接下来就可以使用下述两种方式之一尝试启动:

LxRunOffline run -n 自定义系统名称

wsl -d 自定义系统名称

启动CentOS7.8并查看版本:

PS C:\Users\zhuyi> wsl -d centos78
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# pwd
/mnt/c/Users/zhuyi
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
[root@BaiYang-PC zhuyi]#

设置root密码,输入 root :

[root@BaiYang-PC zhuyi]# passwd
Changing password for user root.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
[root@BaiYang-PC zhuyi]#

如果是Web开发,可以添加一个Linux用户 lnmp,然后设置密码,并解锁用户:

[root@BaiYang-PC zhuyi]# useradd -G mysql,nginx,root lnmp
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# echo "lnmp" | passwd --stdin lnmp
Changing password for user lnmp.
passwd: all authentication tokens updated successfully.
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# passwd -u lnmp
Unlocking password for user lnmp.
passwd: Success
[root@BaiYang-PC zhuyi]#

在下面 Nginx、PHP、MySQL等的安装中,可以切换到 lnmp 用户进行:

[root@BaiYang-PC zhuyi]# su - lnmp
Last login: Fri Dec 24 11:32:37 CST 2021 on pts/0
[lnmp@BaiYang-PC ~]$

停止CentOS7.8

在win10命令环境下,停止CentOS7.8:

PS C:\Users\zhuyi> wsl -l -v
  NAME        STATE           VERSION
* centos78    Running         2
PS C:\Users\zhuyi>
PS C:\Users\zhuyi> wsl -t centos78
PS C:\Users\zhuyi>
PS C:\Users\zhuyi> wsl -l -v
  NAME        STATE           VERSION
* centos78    Stopped         2
PS C:\Users\zhuyi>

yum国内源配置

PS C:\Windows\system32>
PS C:\Windows\system32> LxRunOffline run -n centos78
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# pwd
/mnt/c/Windows/system32
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# yum version
Loaded plugins: fastestmirror, ovl
Installed: 7/x86_64                          147:85b2b77c5c4d98afd3074ef4bdefb25fba4dc4fb
Group-Installed: yum                         14:032f8e66358e5440b1a0c82d830b9c59728d3978
version
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# yum repolist
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.ustc.edu.cn
 * extras: mirrors.ustc.edu.cn
 * updates: mirrors.ustc.edu.cn
repo id                      repo name                          status
base/7/x86_64                CentOS-7 - Base                    10,072
extras/7/x86_64              CentOS-7 - Extras                  498
updates/7/x86_64             CentOS-7 - Updates                 2,741
repolist: 13,311
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# ls -l /etc/yum.repos.d/
total 36
-rw-r--r-- 1 root root 1664 Apr  8  2020 CentOS-Base.repo
-rw-r--r-- 1 root root 1309 Apr  8  2020 CentOS-CR.repo
-rw-r--r-- 1 root root  649 Apr  8  2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  314 Apr  8  2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Apr  8  2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Apr  8  2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 7577 Apr  8  2020 CentOS-Vault.repo
-rw-r--r-- 1 root root  616 Apr  8  2020 CentOS-x86_64-kernel.repo
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
-bash: wget: command not found
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2523  100  2523    0     0   7236      0 --:--:-- --:--:-- --:--:--  7250
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# yum clean all
Loaded plugins: fastestmirror, ovl
Cleaning repos: base extras updates
Cleaning up list of fastest mirrors
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# yum makecache
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                       | 3.6 kB  00:00:00
extras                                     | 2.9 kB  00:00:00
updates                                    | 2.9 kB  00:00:00
base/7/x86_64/primary_db       FAILED
http://mirrors.cloud.aliyuncs.com/centos/7/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error"
Trying other mirror.
(1/10): base/7/x86_64/group_gz             | 153 kB  00:00:01
(2/10): extras/7/x86_64/other_db           | 143 kB  00:00:00
(3/10): extras/7/x86_64/filelists_db       | 235 kB  00:00:02
(4/10): base/7/x86_64/other_db             | 2.6 MB  00:00:04
(5/10): updates/7/x86_64/filelists_db      | 6.2 MB  00:00:04
(6/10): base/7/x86_64/primary_db           | 6.1 MB  00:00:04
base/7/x86_64/filelists_db     FAILED
http://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/d6d94c7d406fe7ad4902a97104b39a0d8299451832a97f31d71653ba982c955b-filelists.sqlite.bz2: [Errno 14] curl#7 - "Failed connect to mirrors.aliyuncs.com:80; Operation now in progress"
Trying other mirror.
extras/7/x86_64/primary_db     FAILED
http://mirrors.aliyuncs.com/centos/7/extras/x86_64/repodata/1be2d535ba29072b7b16ccd66f0b6d5248ddd7b692861f709fd8579d7b9174e6-primary.sqlite.bz2: [Errno 14] curl#7 - "Failed connect to mirrors.aliyuncs.com:80; Operation now in progress"
Trying other mirror.
(7/10): extras/7/x86_64/primary_db         | 242 kB  00:00:02
updates/7/x86_64/primary_db    FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/repodata/ec7e00f59c0ab8791c81743405e3975450319d72b8f6ba7431b112d1d2486761-primary.sqlite.bz2: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/repodata/ec7e00f59c0ab8791c81743405e3975450319d72b8f6ba7431b112d1d2486761-primary.sqlite.bz2: (28, 'Connection timed out after 30533 milliseconds')
Trying other mirror.
updates/7/x86_64/other_db      FAILED              ] 1.1 MB/s |  22 MB  00:00:10 ETA
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/repodata/29a96c36ca1c3a64cd2633544bc299eee8e898fa50bde96e126060ff85943135-other.sqlite.bz2: [Errno 14] curl#7 - "Failed connect to mirrors.aliyuncs.com:80; Operation now in progress"
Trying other mirror.
(8/10): base/7/x86_64/filelists_db         | 7.2 MB  00:00:05
(9/10): updates/7/x86_64/other_db          | 765 kB  00:00:02
(10/10): updates/7/x86_64/primary_db       |  10 MB  00:00:05
Metadata Cache Created
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#

Nginx安装

我们可以编译安装,也可以选择yum方式安装。

yum方式安装

安装管理repository及扩展包的工具:yum-utils,细节参考下面资料。

yum install -y yum-utils

设置nginx的yum仓库配置:

vi /etc/yum.repos.d/nginx.repo

写入:

[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

[nginx-mainline]
name=nginx mainline repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=0
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true

执行:

yum install -y nginx

安装完成。

执行细节:

[root@BaiYang-PC system32]# pwd
/mnt/c/Windows/system32
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# sudo yum install yum-utils
-bash: sudo: command not found
[root@BaiYang-PC system32]# yum install yum-utils
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-53.el7 will be updated
---> Package yum-utils.noarch 0:1.1.31-54.el7_8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
 Package       Arch          Version              Repository       Size
============================================================================
Updating:
 yum-utils     noarch        1.1.31-54.el7_8       base           122 k

Transaction Summary
============================================================================
Upgrade  1 Package

Total download size: 122 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/base/packages/yum-utils-1.1.31-54.el7_8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for yum-utils-1.1.31-54.el7_8.noarch.rpm is not installed
yum-utils-1.1.31-54.el7_8.noarch.rpm       | 122 kB  00:00:00
Retrieving key from http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 From       : http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : yum-utils-1.1.31-54.el7_8.noarch               1/2
  Cleanup    : yum-utils-1.1.31-53.el7.noarch                 2/2
  Verifying  : yum-utils-1.1.31-54.el7_8.noarch               1/2
  Verifying  : yum-utils-1.1.31-53.el7.noarch                 2/2

Updated:
  yum-utils.noarch 0:1.1.31-54.el7_8

Complete!
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# vi /etc/yum.repos.d/nginx.repo
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# yum install -y nginx
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
nginx-stable                               | 2.9 kB  00:00:00
nginx-stable/7/x86_64/primary_db           |  67 kB  00:00:01
Resolving Dependencies
--> Running transaction check
---> Package nginx.x86_64 1:1.20.1-1.el7.ngx will be installed
--> Processing Dependency: openssl >= 1.0.2 for package: 1:nginx-1.20.1-1.el7.ngx.x86_64
--> Running transaction check
---> Package openssl.x86_64 1:1.0.2k-21.el7_9 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-21.el7_9 for package: 1:openssl-1.0.2k-21.el7_9.x86_64
--> Processing Dependency: make for package: 1:openssl-1.0.2k-21.el7_9.x86_64
--> Running transaction check
---> Package make.x86_64 1:3.82-24.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-19.el7 will be updated
---> Package openssl-libs.x86_64 1:1.0.2k-21.el7_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================
 Package                      Arch                   Version                               Repository                    Size
==============================================================================================================================
Installing:
 nginx                        x86_64                 1:1.20.1-1.el7.ngx                    nginx-stable                 790 k
Installing for dependencies:
 make                         x86_64                 1:3.82-24.el7                         base                         421 k
 openssl                      x86_64                 1:1.0.2k-21.el7_9                     updates                      493 k
Updating for dependencies:
 openssl-libs                 x86_64                 1:1.0.2k-21.el7_9                     updates                      1.2 M

Transaction Summary
==============================================================================================================================
Install  1 Package  (+2 Dependent packages)
Upgrade             ( 1 Dependent package)

Total download size: 2.9 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/4): make-3.82-24.el7.x86_64.rpm         | 421 kB  00:00:03
(2/4): openssl-1.0.2k-21.el7_9.x86_64.rpm  | 493 kB  00:00:03
(3/4): openssl-libs-1.0.2k-21.el7_9.x86_64.rpm   | 1.2 MB  00:00:03
warning: /var/cache/yum/x86_64/7/nginx-stable/packages/nginx-1.20.1-1.el7.ngx.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 7bd9bf62: NOKEY
Public key for nginx-1.20.1-1.el7.ngx.x86_64.rpm is not installed
(4/4): nginx-1.20.1-1.el7.ngx.x86_64.rpm   | 790 kB  00:00:40
------------------------------------------------------------------------------------------------------------------------------
Total                              73 kB/s | 2.9 MB  00:00:40
Retrieving key from https://nginx.org/keys/nginx_signing.key
Importing GPG key 0x7BD9BF62:
 Userid     : "nginx signing key <signing-key@nginx.com>"
 Fingerprint: 573b fd6b 3d8f bc64 1079 a6ab abf5 bd82 7bd9 bf62
 From       : https://nginx.org/keys/nginx_signing.key
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : 1:openssl-libs-1.0.2k-21.el7_9.x86_64          1/5
  Installing : 1:make-3.82-24.el7.x86_64                      2/5
  Installing : 1:openssl-1.0.2k-21.el7_9.x86_64               3/5
  Installing : 1:nginx-1.20.1-1.el7.ngx.x86_64                4/5
----------------------------------------------------------------------

Thanks for using nginx!

Please find the official documentation for nginx here:
* https://nginx.org/en/docs/

Please subscribe to nginx-announce mailing list to get
the most important news about nginx:
* https://nginx.org/en/support.html

Commercial subscriptions for nginx are available on:
* https://nginx.com/products/

----------------------------------------------------------------------
  Cleanup    : 1:openssl-libs-1.0.2k-19.el7.x86_64            5/5
  Verifying  : 1:openssl-1.0.2k-21.el7_9.x86_64               1/5
  Verifying  : 1:openssl-libs-1.0.2k-21.el7_9.x86_64          2/5
  Verifying  : 1:nginx-1.20.1-1.el7.ngx.x86_64                3/5
  Verifying  : 1:make-3.82-24.el7.x86_64                      4/5
  Verifying  : 1:openssl-libs-1.0.2k-19.el7.x86_64            5/5

Installed:
  nginx.x86_64 1:1.20.1-1.el7.ngx

Dependency Installed:
  make.x86_64 1:3.82-24.el7                                  openssl.x86_64 1:1.0.2k-21.el7_9

Dependency Updated:
  openssl-libs.x86_64 1:1.0.2k-21.el7_9

Complete!
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# nginx -v
nginx version: nginx/1.20.1
[root@BaiYang-PC system32]#

Web项目配置

看一下 /etc/nginx/nginx.conf 内容:

user  nginx;
worker_processes  auto;

error_log  /var/log/nginx/error.log notice;
pid        /var/run/nginx.pid;


events {
    worker_connections  1024;
}


http {
    include       /etc/nginx/mime.types;
    default_type  application/octet-stream;

    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /var/log/nginx/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    keepalive_timeout  65;

    #gzip  on;

    include /etc/nginx/conf.d/*.conf;
}

/etc/nginx/conf.d/下是一个默认的配置文件 default.conf:

server {
    listen       80;
    server_name  localhost;

    #access_log  /var/log/nginx/host.access.log  main;

    location / {
        root   /usr/share/nginx/html;
        index  index.html index.htm;
    }

    #error_page  404              /404.html;

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }

    # proxy the PHP scripts to Apache listening on 127.0.0.1:80
    #
    #location ~ \.php$ {
    #    proxy_pass   http://127.0.0.1;
    #}

    # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    #
    #location ~ \.php$ {
    #    root           html;
    #    fastcgi_pass   127.0.0.1:9000;
    #    fastcgi_index  index.php;
    #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
    #    include        fastcgi_params;
    #}

    # deny access to .htaccess files, if Apache's document root
    # concurs with nginx's one
    #
    #location ~ /\.ht {
    #    deny  all;
    #}
}

我们可以在文件 /etc/nginx/nginx.conf 最下面include后补充一句:

    include /mnt/g/www/vhost/*.conf;

我们可以方便的在G:\www\vhost\中写自己的项目的配置文件,如abc.test.conf

server {
    listen       80;
    server_name  abc.test;

    location / {
        root   /mnt/g/www/abc;
        index  index.html index.htm;
    }

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }
}

G:\www\abc\中写一个index.html文件,内容自己定义。

C:\Windows\System32\drivers\etc\hosts 文件最下面增加一行:

127.0.0.1      abc.test

Nginx启动后,打开浏览器,访问 abc.test 查看效果。

启动

然后启动Nginx:

nginx

此方式相当于先查出Nginx进程id,再使用kill命令强制杀掉进程:

nginx -s stop

此方式是等Nginx进程任务处理完毕后再进行停止:

nginx -s quit

如果已经启动了,那就平滑重启(不停止服务重新载入配置文件):

nginx -s reload

查询Nginx进程:

[root@BaiYang-PC system32]# ps aux | grep nginx
root     19200  0.0  0.0  46516  1060 ?        Ss   17:56   0:00 nginx: master process nginx
nginx    19201  0.0  0.0  47064  3568 ?        S    17:56   0:00 nginx: worker process
nginx    19202  0.0  0.0  47064  3568 ?        S    17:56   0:00 nginx: worker process
nginx    19203  0.0  0.0  47064  3568 ?        S    17:56   0:00 nginx: worker process
nginx    19204  0.0  0.0  47064  3568 ?        S    17:56   0:00 nginx: worker process
root     19206  0.0  0.0  10704  2268 pts/0    S+   17:56   0:00 grep --color=auto nginx
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# ps -ef | grep nginx
root     19200 19037  0 17:56 ?        00:00:00 nginx: master process nginx
nginx    19201 19200  0 17:56 ?        00:00:00 nginx: worker process
nginx    19202 19200  0 17:56 ?        00:00:00 nginx: worker process
nginx    19203 19200  0 17:56 ?        00:00:00 nginx: worker process
nginx    19204 19200  0 17:56 ?        00:00:00 nginx: worker process
root     19208 19038  0 17:57 pts/0    00:00:00 grep --color=auto nginx
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#

配置为系统服务

看一下现在 systemd 的服务:

[root@BaiYang-PC system32]# ls -l /etc/systemd/system
total 24
lrwxrwxrwx 1 root root   37 May  5  2020 default.target -> /lib/systemd/system/multi-user.target
drwxr-xr-x 2 root root 4096 May  5  2020 default.target.wants
drwxr-xr-x 2 root root 4096 May  5  2020 getty.target.wants
drwxr-xr-x 2 root root 4096 Dec 24 12:58 multi-user.target.wants
drwxr-xr-x 2 root root 4096 Aug 25 01:44 php74-php-fpm.service.d
drwxr-xr-x 2 root root 4096 Dec 15 15:47 php-fpm.service.d
drwxr-xr-x 2 root root 4096 May  5  2020 system-update.target.wants
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# ls -l /usr/lib/systemd/system
total 704
-rw-r--r-- 1 root root  275 Aug  9  2019 arp-ethers.service
lrwxrwxrwx 1 root root   14 Sep  1 22:36 autovt@.service -> getty@.service
-rw-r--r-- 1 root root  517 Feb  3  2021 basic.target
drwxr-xr-x 2 root root 4096 Feb  3  2021 basic.target.wants
-r--r--r-- 1 root root  429 Apr  1  2020 blk-availability.service
-rw-r--r-- 1 root root  379 Feb  3  2021 bluetooth.target
-rw-r--r-- 1 root root  787 Feb  3  2021 console-getty.service
-rw-r--r-- 1 root root  749 Feb  3  2021 console-shell.service
-rw-r--r-- 1 root root  808 Feb  3  2021 container-getty@.service
-rw-r--r-- 1 root root  425 Feb  3  2021 cryptsetup-pre.target
-rw-r--r-- 1 root root  372 Feb  3  2021 cryptsetup.target
lrwxrwxrwx 1 root root   13 Sep  1 22:36 ctrl-alt-del.target -> reboot.target
lrwxrwxrwx 1 root root   25 Sep  1 22:36 dbus-org.freedesktop.hostname1.service -> systemd-hostnamed.service
lrwxrwxrwx 1 root root   23 Sep  1 22:36 dbus-org.freedesktop.import1.service -> systemd-importd.service
lrwxrwxrwx 1 root root   23 Sep  1 22:36 dbus-org.freedesktop.locale1.service -> systemd-localed.service
lrwxrwxrwx 1 root root   22 Sep  1 22:36 dbus-org.freedesktop.login1.service -> systemd-logind.service
lrwxrwxrwx 1 root root   24 Sep  1 22:36 dbus-org.freedesktop.machine1.service -> systemd-machined.service
lrwxrwxrwx 1 root root   25 Sep  1 22:36 dbus-org.freedesktop.timedate1.service -> systemd-timedated.service
-rw-r--r-- 1 root root  366 Mar 14  2019 dbus.service
-rw-r--r-- 1 root root  102 Mar 14  2019 dbus.socket
drwxr-xr-x 2 root root 4096 Feb  3  2021 dbus.target.wants
-rw-r--r-- 1 root root 1014 Feb  3  2021 debug-shell.service
lrwxrwxrwx 1 root root   16 Sep  1 22:36 default.target -> graphical.target
drwxr-xr-x 2 root root 4096 Feb  3  2021 default.target.wants
-rw-r--r-- 1 root root  670 Feb  3  2021 dev-hugepages.mount
-rw-r--r-- 1 root root  590 Feb  3  2021 dev-mqueue.mount
lrwxrwxrwx 1 root root   55 May  5  2020 dracut-cmdline.service -> ../../dracut/modules.d/98systemd/dracut-cmdline.service
lrwxrwxrwx 1 root root   57 May  5  2020 dracut-initqueue.service -> ../../dracut/modules.d/98systemd/dracut-initqueue.service
lrwxrwxrwx 1 root root   53 May  5  2020 dracut-mount.service -> ../../dracut/modules.d/98systemd/dracut-mount.service
lrwxrwxrwx 1 root root   57 May  5  2020 dracut-pre-mount.service -> ../../dracut/modules.d/98systemd/dracut-pre-mount.service
lrwxrwxrwx 1 root root   57 May  5  2020 dracut-pre-pivot.service -> ../../dracut/modules.d/98systemd/dracut-pre-pivot.service
lrwxrwxrwx 1 root root   59 May  5  2020 dracut-pre-trigger.service -> ../../dracut/modules.d/98systemd/dracut-pre-trigger.service
lrwxrwxrwx 1 root root   56 May  5  2020 dracut-pre-udev.service -> ../../dracut/modules.d/98systemd/dracut-pre-udev.service
lrwxrwxrwx 1 root root   56 May  5  2020 dracut-shutdown.service -> ../../dracut/modules.d/98systemd/dracut-shutdown.service
-rw-r--r-- 1 root root  976 Feb  3  2021 emergency.service
-rw-r--r-- 1 root root  431 Feb  3  2021 emergency.target
-rw-r--r-- 1 root root  440 Feb  3  2021 final.target
-rw-r--r-- 1 root root   95 Apr  1  2020 fstrim.service
-rw-r--r-- 1 root root  174 Apr  1  2020 fstrim.timer
-rw-r--r-- 1 root root  466 Feb  3  2021 getty-pre.target
-rw-r--r-- 1 root root 1553 Feb  3  2021 getty@.service
-rw-r--r-- 1 root root  460 Feb  3  2021 getty.target
-rw-r--r-- 1 root root  558 Feb  3  2021 graphical.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 graphical.target.wants
-rw-r--r-- 1 root root  565 Feb  3  2021 halt-local.service
-rw-r--r-- 1 root root  487 Feb  3  2021 halt.target
-rw-r--r-- 1 root root  447 Feb  3  2021 hibernate.target
-rw-r--r-- 1 root root  350 Nov 16  2020 htcacheclean.service
-rw-r--r-- 1 root root  752 Nov 16  2020 httpd.service
-rw-r--r-- 1 root root  468 Feb  3  2021 hybrid-sleep.target
-rw-r--r-- 1 root root  634 Feb  3  2021 initrd-cleanup.service
-rw-r--r-- 1 root root  553 Feb  3  2021 initrd-fs.target
-rw-r--r-- 1 root root  802 Feb  3  2021 initrd-parse-etc.service
-rw-r--r-- 1 root root  526 Feb  3  2021 initrd-root-fs.target
-rw-r--r-- 1 root root  630 Feb  3  2021 initrd-switch-root.service
-rw-r--r-- 1 root root  737 Feb  3  2021 initrd-switch-root.target
-rw-r--r-- 1 root root  671 Feb  3  2021 initrd.target
drwxr-xr-x 2 root root 4096 May  5  2020 initrd.target.wants
-rw-r--r-- 1 root root  668 Feb  3  2021 initrd-udevadm-cleanup-db.service
-rw-r--r-- 1 root root  501 Feb  3  2021 kexec.target
-rw-r--r-- 1 root root  679 Feb  3  2021 kmod-static-nodes.service
-rw-r--r-- 1 root root  395 Feb  3  2021 local-fs-pre.target
-rw-r--r-- 1 root root  507 Feb  3  2021 local-fs.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 local-fs.target.wants
-rw-r--r-- 1 root root  405 Feb  3  2021 machine.slice
-rw-r--r-- 1 root root  531 Feb  3  2021 machines.target
lrwxrwxrwx 1 root root   12 May  5  2020 messagebus.service -> dbus.service
-rw-r--r-- 1 root root  492 Feb  3  2021 multi-user.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 multi-user.target.wants
-rw-r--r-- 1 root root  464 Feb  3  2021 network-online.target
-rw-r--r-- 1 root root  461 Feb  3  2021 network-pre.target
-rw-r--r-- 1 root root  480 Feb  3  2021 network.target
-rw-r--r-- 1 root root  475 May 25  2021 nginx-debug.service
-rw-r--r-- 1 root root  469 May 25  2021 nginx.service
-rw-r--r-- 1 root root  514 Feb  3  2021 nss-lookup.target
-rw-r--r-- 1 root root  473 Feb  3  2021 nss-user-lookup.target
-rw-r--r-- 1 root root  354 Feb  3  2021 paths.target
-rw-r--r-- 1 root root  502 Aug 25 01:44 php74-php-fpm.service
-rw-r--r-- 1 root root  518 Dec 15 15:47 php-fpm.service
-rw-r--r-- 1 root root  552 Feb  3  2021 poweroff.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 poweroff.target.wants
-rw-r--r-- 1 root root  377 Feb  3  2021 printer.target
-rw-r--r-- 1 root root  705 Feb  3  2021 proc-sys-fs-binfmt_misc.automount
-rw-r--r-- 1 root root  615 Feb  3  2021 proc-sys-fs-binfmt_misc.mount
-rw-r--r-- 1 root root  644 Feb  3  2021 quotaon.service
-rw-r--r-- 1 root root  632 Feb  3  2021 rc-local.service
-rw-r--r-- 1 root root  243 Aug  4  2017 rdisc.service
-rw-r--r-- 1 root root  543 Feb  3  2021 reboot.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 reboot.target.wants
-rw-r--r-- 1 root root  509 Feb  3  2021 remote-cryptsetup.target
-rw-r--r-- 1 root root  396 Feb  3  2021 remote-fs-pre.target
-rw-r--r-- 1 root root  482 Feb  3  2021 remote-fs.target
-rw-r--r-- 1 root root  976 Feb  3  2021 rescue.service
-rw-r--r-- 1 root root  486 Feb  3  2021 rescue.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 rescue.target.wants
-rw-r--r-- 1 root root  500 Feb  3  2021 rpcbind.target
-rw-r--r-- 1 root root  237 Apr  1  2020 rsyncd.service
-rw-r--r-- 1 root root  220 Apr  1  2020 rsyncd@.service
-rw-r--r-- 1 root root  138 Apr  1  2020 rsyncd.socket
lrwxrwxrwx 1 root root   15 Sep  1 22:36 runlevel0.target -> poweroff.target
lrwxrwxrwx 1 root root   13 Sep  1 22:36 runlevel1.target -> rescue.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 runlevel1.target.wants
lrwxrwxrwx 1 root root   17 Sep  1 22:36 runlevel2.target -> multi-user.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 runlevel2.target.wants
lrwxrwxrwx 1 root root   17 Sep  1 22:36 runlevel3.target -> multi-user.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 runlevel3.target.wants
lrwxrwxrwx 1 root root   17 Sep  1 22:36 runlevel4.target -> multi-user.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 runlevel4.target.wants
lrwxrwxrwx 1 root root   16 Sep  1 22:36 runlevel5.target -> graphical.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 runlevel5.target.wants
lrwxrwxrwx 1 root root   13 Sep  1 22:36 runlevel6.target -> reboot.target
-rw-r--r-- 1 root root 1055 Feb  3  2021 serial-getty@.service
-rw-r--r-- 1 root root  402 Feb  3  2021 shutdown.target
drwxr-xr-x 2 root root 4096 May  5  2020 shutdown.target.wants
-rw-r--r-- 1 root root  362 Feb  3  2021 sigpwr.target
-rw-r--r-- 1 root root  420 Feb  3  2021 sleep.target
-rw-r--r-- 1 root root  403 Feb  3  2021 -.slice
-rw-r--r-- 1 root root  409 Feb  3  2021 slices.target
-rw-r--r-- 1 root root  380 Feb  3  2021 smartcard.target
-rw-r--r-- 1 root root  356 Feb  3  2021 sockets.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 sockets.target.wants
-rw-r--r-- 1 root root  380 Feb  3  2021 sound.target
-rw-r--r-- 1 root root  441 Feb  3  2021 suspend.target
-rw-r--r-- 1 root root  267 Sep 30  2020 svnserve.service
-rw-r--r-- 1 root root  353 Feb  3  2021 swap.target
-rw-r--r-- 1 root root  681 Feb  3  2021 sys-fs-fuse-connections.mount
-rw-r--r-- 1 root root  518 Feb  3  2021 sysinit.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 sysinit.target.wants
-rw-r--r-- 1 root root  719 Feb  3  2021 sys-kernel-config.mount
-rw-r--r-- 1 root root  662 Feb  3  2021 sys-kernel-debug.mount
-rw-r--r-- 1 root root 1235 Feb  3  2021 syslog.socket
drwxr-xr-x 2 root root 4096 Feb  3  2021 syslog.target.wants
-rw-r--r-- 1 root root  646 Feb  3  2021 systemd-ask-password-console.path
-rw-r--r-- 1 root root  657 Feb  3  2021 systemd-ask-password-console.service
-rw-r--r-- 1 root root  574 Feb  3  2021 systemd-ask-password-wall.path
-rw-r--r-- 1 root root  689 Feb  3  2021 systemd-ask-password-wall.service
-rw-r--r-- 1 root root  799 Feb  3  2021 systemd-backlight@.service
-rw-r--r-- 1 root root 1027 Feb  3  2021 systemd-binfmt.service
-rw-r--r-- 1 root root  654 Feb  3  2021 systemd-bootchart.service
-rw-r--r-- 1 root root  826 Feb  3  2021 systemd-firstboot.service
-rw-r--r-- 1 root root  682 Feb  3  2021 systemd-fsck-root.service
-rw-r--r-- 1 root root  702 Feb  3  2021 systemd-fsck@.service
-rw-r--r-- 1 root root  548 Feb  3  2021 systemd-halt.service
-rw-r--r-- 1 root root  635 Feb  3  2021 systemd-hibernate-resume@.service
-rw-r--r-- 1 root root  505 Feb  3  2021 systemd-hibernate.service
-rw-r--r-- 1 root root  714 Feb  3  2021 systemd-hostnamed.service
-rw-r--r-- 1 root root  838 Feb  3  2021 systemd-hwdb-update.service
-rw-r--r-- 1 root root  523 Feb  3  2021 systemd-hybrid-sleep.service
-rw-r--r-- 1 root root  693 Feb  3  2021 systemd-importd.service
-rw-r--r-- 1 root root  484 Feb  3  2021 systemd-initctl.service
-rw-r--r-- 1 root root  524 Feb  3  2021 systemd-initctl.socket
-rw-r--r-- 1 root root  738 Feb  3  2021 systemd-journal-catalog-update.service
-rw-r--r-- 1 root root 1156 Feb  3  2021 systemd-journald.service
-rw-r--r-- 1 root root  833 Feb  3  2021 systemd-journald.socket
-rw-r--r-- 1 root root  735 Feb  3  2021 systemd-journal-flush.service
-rw-r--r-- 1 root root  561 Feb  3  2021 systemd-kexec.service
-rw-r--r-- 1 root root  695 Feb  3  2021 systemd-localed.service
-rw-r--r-- 1 root root 1130 Feb  3  2021 systemd-logind.service
-rw-r--r-- 1 root root  819 Feb  3  2021 systemd-machined.service
-rw-r--r-- 1 root root  682 Feb  3  2021 systemd-machine-id-commit.service
-rw-r--r-- 1 root root 1029 Feb  3  2021 systemd-modules-load.service
-rw-r--r-- 1 root root  676 Feb  3  2021 systemd-nspawn@.service
-rw-r--r-- 1 root root  557 Feb  3  2021 systemd-poweroff.service
-rw-r--r-- 1 root root  690 Feb  3  2021 systemd-quotacheck.service
-rw-r--r-- 1 root root  777 Feb  3  2021 systemd-random-seed.service
-rw-r--r-- 1 root root  845 Feb  3  2021 systemd-readahead-collect.service
-rw-r--r-- 1 root root  642 Feb  3  2021 systemd-readahead-done.service
-rw-r--r-- 1 root root  635 Feb  3  2021 systemd-readahead-done.timer
-rw-r--r-- 1 root root  555 Feb  3  2021 systemd-readahead-drop.service
-rw-r--r-- 1 root root  757 Feb  3  2021 systemd-readahead-replay.service
-rw-r--r-- 1 root root  552 Feb  3  2021 systemd-reboot.service
-rw-r--r-- 1 root root  828 Feb  3  2021 systemd-remount-fs.service
-rw-r--r-- 1 root root  813 Feb  3  2021 systemd-rfkill@.service
-rw-r--r-- 1 root root  479 Feb  3  2021 systemd-shutdownd.service
-rw-r--r-- 1 root root  528 Feb  3  2021 systemd-shutdownd.socket
-rw-r--r-- 1 root root  501 Feb  3  2021 systemd-suspend.service
-rw-r--r-- 1 root root  711 Feb  3  2021 systemd-sysctl.service
-rw-r--r-- 1 root root  659 Feb  3  2021 systemd-timedated.service
-rw-r--r-- 1 root root  669 Feb  3  2021 systemd-tmpfiles-clean.service
-rw-r--r-- 1 root root  450 Feb  3  2021 systemd-tmpfiles-clean.timer
-rw-r--r-- 1 root root  774 Feb  3  2021 systemd-tmpfiles-setup-dev.service
-rw-r--r-- 1 root root  754 Feb  3  2021 systemd-tmpfiles-setup.service
-rw-r--r-- 1 root root  595 Feb  3  2021 systemd-udevd-control.socket
-rw-r--r-- 1 root root  570 Feb  3  2021 systemd-udevd-kernel.socket
-rw-r--r-- 1 root root  812 Feb  3  2021 systemd-udevd.service
-rw-r--r-- 1 root root  827 Feb  3  2021 systemd-udev-settle.service
-rw-r--r-- 1 root root  751 Feb  3  2021 systemd-udev-trigger.service
-rw-r--r-- 1 root root  701 Feb  3  2021 systemd-update-done.service
-rw-r--r-- 1 root root  761 Feb  3  2021 systemd-update-utmp-runlevel.service
-rw-r--r-- 1 root root  829 Feb  3  2021 systemd-update-utmp.service
-rw-r--r-- 1 root root  581 Feb  3  2021 systemd-user-sessions.service
-rw-r--r-- 1 root root  716 Feb  3  2021 systemd-vconsole-setup.service
-rw-r--r-- 1 root root  433 Feb  3  2021 system.slice
-rw-r--r-- 1 root root  652 Feb  3  2021 system-update.target
-rw-r--r-- 1 root root  148 Aug  4  2017 tcsd.service
-rw-r--r-- 1 root root  405 Feb  3  2021 timers.target
drwxr-xr-x 2 root root 4096 Sep  1 22:36 timers.target.wants
-rw-r--r-- 1 root root  395 Feb  3  2021 time-sync.target
-rw-r--r-- 1 root root  703 Feb  3  2021 tmp.mount
-rw-r--r-- 1 root root  417 Feb  3  2021 umount.target
-rw-r--r-- 1 root root  392 Feb  3  2021 user.slice
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]#
[root@BaiYang-PC system32]# systemctl list-unit-files
UNIT FILE                              STATE
proc-sys-fs-binfmt_misc.automount      static
dev-hugepages.mount                    static
dev-mqueue.mount                       static
proc-sys-fs-binfmt_misc.mount          static
sys-fs-fuse-connections.mount          static
sys-kernel-config.mount                static
sys-kernel-debug.mount                 static
tmp.mount                              disabled
systemd-ask-password-console.path      static
systemd-ask-password-wall.path         static
arp-ethers.service                     disabled
autovt@.service                        enabled
blk-availability.service               disabled
console-getty.service                  disabled
console-shell.service                  disabled
container-getty@.service               static
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.import1.service   static
dbus-org.freedesktop.locale1.service   static
dbus-org.freedesktop.login1.service    static
dbus-org.freedesktop.machine1.service  static
dbus-org.freedesktop.timedate1.service static
dbus.service                           static
debug-shell.service                    disabled
dracut-cmdline.service                 static
dracut-initqueue.service               static
dracut-mount.service                   static
dracut-pre-mount.service               static
dracut-pre-pivot.service               static
...
[root@BaiYang-PC system32]#

yum 安装nginx时自动生成的 /usr/lib/systemd/system/nginx.service/lib/systemd/system/nginx.service 文件内容:

[Unit]
Description=nginx - high performance web server
Documentation=http://nginx.org/en/docs/
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/var/run/nginx.pid
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
ExecReload=/bin/sh -c "/bin/kill -s HUP $(/bin/cat /var/run/nginx.pid)"
ExecStop=/bin/sh -c "/bin/kill -s TERM $(/bin/cat /var/run/nginx.pid)"

[Install]
WantedBy=multi-user.target

说明 nginx 这个服务是设置好的,接下来设置 nginx 为开机启动服务:

[root@BaiYang-PC ~]# systemctl enable nginx
Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service, pointing to /usr/lib/systemd/system/nginx.service.
[root@BaiYang-PC ~]# 
[root@BaiYang-PC ~]# ls -l /etc/systemd/system/multi-user.target.wants/
total 0
lrwxrwxrwx 1 root root 37 Dec 25 14:41 nginx.service -> /usr/lib/systemd/system/nginx.service
lrwxrwxrwx 1 root root 40 May  5  2020 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# systemctl status nginx
Failed to get D-Bus connection: Operation not permitted
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# systemctl start nginx
Failed to get D-Bus connection: Operation not permitted
[root@BaiYang-PC ~]#

但发现 systemctl 指令不能完整运行,这与WSL的架构有关,WSL中不能使用 systemd,注册为 service 没有作用,那就每次WSL启动时手动执行脚本启动吧。

查看版本信息:

[root@BaiYang-PC ~]# uname -a
Linux BaiYang-PC 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# cat /proc/version
Linux version 5.10.16.3-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Apr 2 22:23:49 UTC 2021
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# cat /etc/issue
\S
Kernel \r on an \m

[root@BaiYang-PC ~]#

另外注册 service,也参考下 Nginx 官方服务脚本 https://www.nginx.com/resources/wiki/start/topics/examples/initscripts/

在 /usr/lib/systemd/system/nginx.service 文件写入内容:

[Unit]
Description=The NGINX HTTP and reverse proxy server
After=syslog.target network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t
ExecStart=/usr/sbin/nginx
ExecReload=/usr/sbin/nginx -s reload
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target

PHP安装

我们使用Remi源安装PHP7.4。

安装 EPEL 存储库

yum install epel-release -y

安装Remi存储库

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

查看ls -l /etc/yum.repos.d目录,多了的源配置文件:

total 108
-rw-r--r-- 1 root root 2523 Sep  1 22:03 CentOS-Base.repo
-rw-r--r-- 1 root root 1664 Apr  8  2020 CentOS-Base.repo.backup
-rw-r--r-- 1 root root 1309 Apr  8  2020 CentOS-CR.repo
-rw-r--r-- 1 root root  649 Apr  8  2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  314 Apr  8  2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Apr  8  2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Apr  8  2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 7577 Apr  8  2020 CentOS-Vault.repo
-rw-r--r-- 1 root root  616 Apr  8  2020 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root  951 Oct  3  2017 epel.repo
-rw-r--r-- 1 root root 1050 Oct  3  2017 epel-testing.repo
-rw-r--r-- 1 root root  398 Sep  1 22:11 nginx.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi91.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi92.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi93.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi94.repo
-rw-r--r-- 1 root root  855 Jan  5  2021 remi-modular.repo
-rw-r--r-- 1 root root  456 Jan  5  2021 remi-php54.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php70.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php71.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php72.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php73.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php74.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php80.repo
-rw-r--r-- 1 root root 2605 Jan  5  2021 remi.repo
-rw-r--r-- 1 root root  750 Jan  5  2021 remi-safe.repo

查看可以安装的 php 版本:

yum list php*

使用 remi-php74 源安装 PHP 7.4:

yum --enablerepo=remi-php74 install php

输出:

[root@BaiYang-PC yum.repos.d]# yum --enablerepo=remi-php74 install php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * remi-php74: mirrors.tuna.tsinghua.edu.cn
 * remi-safe: mirrors.tuna.tsinghua.edu.cn
 * updates: mirrors.aliyun.com
remi-php74                                     | 3.0 kB  00:00:00
remi-php74/primary_db                          | 247 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:7.4.23-1.el7.remi will be installed
--> Processing Dependency: httpd-mmn = 20120211x8664 for package: php-7.4.23-1.el7.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 7.4.23-1.el7.remi for package: php-7.4.23-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 7.4.23-1.el7.remi for package: php-7.4.23-1.el7.remi.x86_64
--> Processing Dependency: php-sodium(x86-64) = 7.4.23-1.el7.remi for package: php-7.4.23-1.el7.remi.x86_64
--> Processing Dependency: httpd for package: php-7.4.23-1.el7.remi.x86_64
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-97.el7.centos will be installed
--> Processing Dependency: httpd-tools = 2.4.6-97.el7.centos for package: httpd-2.4.6-97.el7.centos.x86_64
--> Processing Dependency: system-logos >= 7.92.1-1 for package: httpd-2.4.6-97.el7.centos.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-97.el7.centos.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-97.el7.centos.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-97.el7.centos.x86_64
---> Package php-cli.x86_64 0:7.4.23-1.el7.remi will be installed
---> Package php-common.x86_64 0:7.4.23-1.el7.remi will be installed
--> Processing Dependency: php-json(x86-64) = 7.4.23-1.el7.remi for package: php-common-7.4.23-1.el7.remi.x86_64
---> Package php-sodium.x86_64 0:7.4.23-1.el7.remi will be installed
--> Processing Dependency: libsodium.so.23()(64bit) for package: php-sodium-7.4.23-1.el7.remi.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-7.el7 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.el7 will be installed
---> Package centos-logos.noarch 0:70.0.6-3.el7.centos will be installed
---> Package httpd-tools.x86_64 0:2.4.6-97.el7.centos will be installed
---> Package libsodium.x86_64 0:1.0.18-1.el7 will be installed
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
---> Package php-json.x86_64 0:7.4.23-1.el7.remi will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================
 Package             Arch          Version                 Repository         Size
====================================================================================
Installing:
 php                 x86_64      7.4.23-1.el7.remi            remi-php74        3.4 M
Installing for dependencies:
 apr                 x86_64        1.4.8-7.el7                base              104 k
 apr-util            x86_64        1.5.2-6.el7                base              92 k
 centos-logos        noarch        70.0.6-3.el7.centos        base              21 M
 httpd               x86_64        2.4.6-97.el7.centos        updates           2.7 M
 httpd-tools         x86_64        2.4.6-97.el7.centos        updates            93 k
 libsodium           x86_64        1.0.18-1.el7               epel              147 k
 mailcap             noarch        2.1.41-2.el7               base               31 k
 php-cli             x86_64        7.4.23-1.el7.remi          remi-php74        5.2 M
 php-common          x86_64        7.4.23-1.el7.remi          remi-php74        1.2 M
 php-json            x86_64        7.4.23-1.el7.remi          remi-php74         72 k
 php-sodium          x86_64        7.4.23-1.el7.remi          remi-php74         84 k

Transaction Summary
======================================================================================
Install  1 Package (+11 Dependent packages)

Total download size: 34 M
Installed size: 73 M
Is this ok [y/d/N]: y
Downloading packages:
(1/12): apr-1.4.8-7.el7.x86_64.rpm             | 104 kB  00:00:00
(2/12): apr-util-1.5.2-6.el7.x86_64.rpm        |  92 kB  00:00:00
(3/12): mailcap-2.1.41-2.el7.noarch.rpm        |  31 kB  00:00:00
(4/12): httpd-tools-2.4.6-97.el7.centos.x86_64.rpm     |  93 kB  00:00:00
(5/12): libsodium-1.0.18-1.el7.x86_64.rpm      | 147 kB  00:00:00
warning: /var/cache/yum/x86_64/7/remi-php74/packages/php-7.4.23-1.el7.remi.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
Public key for php-7.4.23-1.el7.remi.x86_64.rpm is not installed
(6/12): php-7.4.23-1.el7.remi.x86_64.rpm       | 3.4 MB  00:00:01
(7/12): php-common-7.4.23-1.el7.remi.x86_64.rpm     | 1.2 MB  00:00:00
(8/12): php-json-7.4.23-1.el7.remi.x86_64.rpm  |  72 kB  00:00:00
(9/12): php-sodium-7.4.23-1.el7.remi.x86_64.rpm    |  84 kB  00:00:00
(10/12): php-cli-7.4.23-1.el7.remi.x86_64.rpm  | 5.2 MB  00:00:03
(11/12): httpd-2.4.6-97.el7.centos.x86_64.rpm  | 2.7 MB  00:00:04
(12/12): centos-logos-70.0.6-3.el7.centos.noarch.rpm    |  21 MB  00:00:07
------------------------------------------------------------------------------------
Total                                 4.7 MB/s |  34 MB  00:00:07
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Importing GPG key 0x00F97F56:
 Userid     : "Remi Collet <RPMS@FamilleCollet.com>"
 Fingerprint: 1ee0 4cce 88a4 ae4a a29a 5df5 004e 6f47 00f9 7f56
 Package    : remi-release-7.9-1.el7.remi.noarch (installed)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : php-json-7.4.23-1.el7.remi.x86_64                 1/12
  Installing : php-common-7.4.23-1.el7.remi.x86_64               2/12
  Installing : apr-1.4.8-7.el7.x86_64                            3/12
  Installing : apr-util-1.5.2-6.el7.x86_64                       4/12
  Installing : httpd-tools-2.4.6-97.el7.centos.x86_64            5/12
  Installing : php-cli-7.4.23-1.el7.remi.x86_64                  6/12
  Installing : centos-logos-70.0.6-3.el7.centos.noarch           7/12
  Installing : mailcap-2.1.41-2.el7.noarch                       8/12
  Installing : httpd-2.4.6-97.el7.centos.x86_64                  9/12
  Installing : libsodium-1.0.18-1.el7.x86_64                    10/12
  Installing : php-sodium-7.4.23-1.el7.remi.x86_64              11/12
  Installing : php-7.4.23-1.el7.remi.x86_64                     12/12
  Verifying  : php-7.4.23-1.el7.remi.x86_64                      1/12
  Verifying  : apr-1.4.8-7.el7.x86_64                            2/12
  Verifying  : libsodium-1.0.18-1.el7.x86_64                     3/12
  Verifying  : php-common-7.4.23-1.el7.remi.x86_64               4/12
  Verifying  : mailcap-2.1.41-2.el7.noarch                       5/12
  Verifying  : php-sodium-7.4.23-1.el7.remi.x86_64               6/12
  Verifying  : apr-util-1.5.2-6.el7.x86_64                       7/12
  Verifying  : php-json-7.4.23-1.el7.remi.x86_64                 8/12
  Verifying  : httpd-2.4.6-97.el7.centos.x86_64                  9/12
  Verifying  : httpd-tools-2.4.6-97.el7.centos.x86_64           10/12
  Verifying  : centos-logos-70.0.6-3.el7.centos.noarch          11/12
  Verifying  : php-cli-7.4.23-1.el7.remi.x86_64                 12/12

Installed:
  php.x86_64 0:7.4.23-1.el7.remi

Dependency Installed:
  apr.x86_64 0:1.4.8-7.el7               apr-util.x86_64 0:1.5.2-6.el7               centos-logos.noarch 0:70.0.6-3.el7.centos
  httpd.x86_64 0:2.4.6-97.el7.centos     httpd-tools.x86_64 0:2.4.6-97.el7.centos    libsodium.x86_64 0:1.0.18-1.el7
  mailcap.noarch 0:2.1.41-2.el7          php-cli.x86_64 0:7.4.23-1.el7.remi          php-common.x86_64 0:7.4.23-1.el7.remi
  php-json.x86_64 0:7.4.23-1.el7.remi    php-sodium.x86_64 0:7.4.23-1.el7.remi

Complete!
[root@BaiYang-PC yum.repos.d]#

查看版本:

[root@BaiYang-PC yum.repos.d]# php -v
PHP 7.4.23 (cli) (built: Aug 24 2021 16:33:30) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

查看拓展:

[root@BaiYang-PC zhuyi]# php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
sockets
sodium
SPL
standard
tokenizer
zlib

[Zend Modules]

安装拓展

指定仓库名,安装 php74 拓展,因为已经指定了仓库,不需要带 php74 了:

yum --enablerepo=remi-php74 install -y php-fpm php-cli php-bcmath php-gd php-mbstring php-mcrypt php-mysqlnd php-opcache php-pdo php-pecl-mcrypt php-xml php-zip

输出:

[root@BaiYang-PC zhuyi]# yum --enablerepo=remi-php74 install -y php-fpm php-cli php-bcmath php-gd php-mbstring php-mcrypt php-mysqlnd php-opcache php-pdo php-pecl-mcrypt php-xml php-zip
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                 | 9.4 kB  00:00:00
 * base: mirrors.aliyun.com
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.aliyun.com
 * remi-php74: repo.extreme-ix.org
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
base                                 | 3.6 kB  00:00:00
epel                                 | 4.7 kB  00:00:00
extras                               | 2.9 kB  00:00:00
nginx-stable                         | 2.9 kB  00:00:00
remi-php74                           | 3.0 kB  00:00:00
remi-safe                            | 3.0 kB  00:00:00
updates                              | 2.9 kB  00:00:00
(1/5): epel/x86_64/updateinfo        | 1.0 MB  00:00:00
(2/5): remi-php74/primary_db         | 252 kB  00:00:02
(3/5): epel/x86_64/primary_db        | 7.0 MB  00:00:06
(4/5): remi-safe/primary_db          | 2.1 MB  00:00:11
(5/5): updates/7/x86_64/primary_db   |  13 MB  00:00:19
Package php-mcrypt is obsoleted by php-pecl-mcrypt, trying to install php-pecl-mcrypt-1.0.4-1.el7.remi.7.4.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package php-bcmath.x86_64 0:7.4.27-1.el7.remi will be installed
--> Processing Dependency: php-common(x86-64) = 7.4.27-1.el7.remi for package: php-bcmath-7.4.27-1.el7.remi.x86_64
---> Package php-cli.x86_64 0:7.4.23-1.el7.remi will be updated
--> Processing Dependency: php-cli(x86-64) = 7.4.23-1.el7.remi for package: php-7.4.23-1.el7.remi.x86_64
---> Package php-cli.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php-fpm.x86_64 0:7.4.27-1.el7.remi will be installed
---> Package php-gd.x86_64 0:7.4.27-1.el7.remi will be installed
--> Processing Dependency: libgd.so.103()(64bit) for package: php-gd-7.4.27-1.el7.remi.x86_64
---> Package php-mbstring.x86_64 0:7.4.27-1.el7.remi will be installed
---> Package php-mysqlnd.x86_64 0:7.4.27-1.el7.remi will be installed
---> Package php-opcache.x86_64 0:7.4.27-1.el7.remi will be installed
---> Package php-pdo.x86_64 0:7.4.27-1.el7.remi will be installed
---> Package php-pecl-mcrypt.x86_64 0:1.0.4-1.el7.remi.7.4 will be installed
---> Package php-pecl-zip.x86_64 0:1.20.0-1.el7.remi.7.4 will be installed
---> Package php-xml.x86_64 0:7.4.27-1.el7.remi will be installed
--> Running transaction check
---> Package gd3php.x86_64 0:2.3.3-4.el7.remi will be installed
---> Package php.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php.x86_64 0:7.4.27-1.el7.remi will be an update
--> Processing Dependency: php-sodium(x86-64) = 7.4.27-1.el7.remi for package: php-7.4.27-1.el7.remi.x86_64
---> Package php-common.x86_64 0:7.4.23-1.el7.remi will be updated
--> Processing Dependency: php-common(x86-64) = 7.4.23-1.el7.remi for package: php-json-7.4.23-1.el7.remi.x86_64
---> Package php-common.x86_64 0:7.4.27-1.el7.remi will be an update
--> Running transaction check
---> Package php-json.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php-json.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php-sodium.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php-sodium.x86_64 0:7.4.27-1.el7.remi will be an update
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
 Package            Arch      Version                   Repository     Size
============================================================================
Installing:
 php-bcmath         x86_64    7.4.27-1.el7.remi         remi-php74     80 k
 php-fpm            x86_64    7.4.27-1.el7.remi         remi-php74    1.8 M
 php-gd             x86_64    7.4.27-1.el7.remi         remi-php74     89 k
 php-mbstring       x86_64    7.4.27-1.el7.remi         remi-php74    525 k
 php-mysqlnd        x86_64    7.4.27-1.el7.remi         remi-php74    255 k
 php-opcache        x86_64    7.4.27-1.el7.remi         remi-php74    332 k
 php-pdo            x86_64    7.4.27-1.el7.remi         remi-php74    139 k
 php-pecl-mcrypt    x86_64    1.0.4-1.el7.remi.7.4      remi-php74     30 k
 php-pecl-zip       x86_64    1.20.0-1.el7.remi.7.4     remi-php74     63 k
 php-xml            x86_64    7.4.27-1.el7.remi         remi-php74    209 k
Updating:
 php-cli            x86_64    7.4.27-1.el7.remi         remi-php74    5.2 M
Installing for dependencies:
 gd3php             x86_64    2.3.3-4.el7.remi          remi-safe     138 k
Updating for dependencies:
 php                x86_64    7.4.27-1.el7.remi         remi-php74    3.4 M
 php-common         x86_64    7.4.27-1.el7.remi         remi-php74    1.2 M
 php-json           x86_64    7.4.27-1.el7.remi         remi-php74     73 k
 php-sodium         x86_64    7.4.27-1.el7.remi         remi-php74     85 k

Transaction Summary
===========================================================================
Install  10 Packages (+1 Dependent package)
Upgrade   1 Package  (+4 Dependent packages)

Total download size: 14 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/16): php-bcmath-7.4.27-1.el7.remi.x86_64.rpm         |  80 kB  00:00:01
(2/16): php-7.4.27-1.el7.remi.x86_64.rpm                | 3.4 MB  00:00:02
(3/16): php-gd-7.4.27-1.el7.remi.x86_64.rpm             |  89 kB  00:00:00
(4/16): php-json-7.4.27-1.el7.remi.x86_64.rpm           |  73 kB  00:00:00
(5/16): php-mbstring-7.4.27-1.el7.remi.x86_64.rpm       | 525 kB  00:00:00
(6/16): php-mysqlnd-7.4.27-1.el7.remi.x86_64.rpm        | 255 kB  00:00:00
(7/16): gd3php-2.3.3-4.el7.remi.x86_64.rpm              | 138 kB  00:00:04
(8/16): php-opcache-7.4.27-1.el7.remi.x86_64.rpm        | 332 kB  00:00:00
(9/16): php-pecl-mcrypt-1.0.4-1.el7.remi.7.4.x86_64.rpm |  30 kB  00:00:00
(10/16): php-pecl-zip-1.20.0-1.el7.remi.7.4.x86_64.rpm  |  63 kB  00:00:00
(11/16): php-sodium-7.4.27-1.el7.remi.x86_64.rpm        |  85 kB  00:00:00
(12/16): php-xml-7.4.27-1.el7.remi.x86_64.rpm           | 209 kB  00:00:00
(13/16): php-pdo-7.4.27-1.el7.remi.x86_64.rpm           | 139 kB  00:00:04
(14/16): php-cli-7.4.27-1.el7.remi.x86_64.rpm           | 5.2 MB  00:00:10
(15/16): php-common-7.4.27-1.el7.remi.x86_64.rpm        | 1.2 MB  00:00:11
(16/16): php-fpm-7.4.27-1.el7.remi.x86_64.rpm           | 1.8 MB  00:00:14
--------------------------------------------------------------------------
Total                       884 kB/s |  14 MB  00:00:15
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : php-common-7.4.27-1.el7.remi.x86_64     1/21
  Updating   : php-json-7.4.27-1.el7.remi.x86_64       2/21
  Updating   : php-cli-7.4.27-1.el7.remi.x86_64        3/21
  Installing : php-pdo-7.4.27-1.el7.remi.x86_64        4/21
  Updating   : php-sodium-7.4.27-1.el7.remi.x86_64     5/21
  Installing : gd3php-2.3.3-4.el7.remi.x86_64          6/21
  Installing : php-gd-7.4.27-1.el7.remi.x86_64         7/21
  Updating   : php-7.4.27-1.el7.remi.x86_64            8/21
  Installing : php-mysqlnd-7.4.27-1.el7.remi.x86_64    9/21
  Installing : php-pecl-mcrypt-1.0.4-1.el7.remi.7.4.x86_64     10/21
  Installing : php-opcache-7.4.27-1.el7.remi.x86_64   11/21
  Installing : php-fpm-7.4.27-1.el7.remi.x86_64       12/21
  Installing : php-xml-7.4.27-1.el7.remi.x86_64       13/21
  Installing : php-pecl-zip-1.20.0-1.el7.remi.7.4.x86_64       14/21
  Installing : php-bcmath-7.4.27-1.el7.remi.x86_64    15/21
  Installing : php-mbstring-7.4.27-1.el7.remi.x86_64  16/21
  Cleanup    : php-7.4.23-1.el7.remi.x86_64           17/21
  Cleanup    : php-cli-7.4.23-1.el7.remi.x86_64       18/21
  Cleanup    : php-sodium-7.4.23-1.el7.remi.x86_64    19/21
  Cleanup    : php-common-7.4.23-1.el7.remi.x86_64    20/21
  Cleanup    : php-json-7.4.23-1.el7.remi.x86_64      21/21
  Verifying  : php-pecl-mcrypt-1.0.4-1.el7.remi.7.4.x86_64    1/21
  Verifying  : php-opcache-7.4.27-1.el7.remi.x86_64    2/21
  Verifying  : php-fpm-7.4.27-1.el7.remi.x86_64        3/21
  Verifying  : gd3php-2.3.3-4.el7.remi.x86_64          4/21
  Verifying  : php-mysqlnd-7.4.27-1.el7.remi.x86_64    5/21
  Verifying  : php-xml-7.4.27-1.el7.remi.x86_64        6/21
  Verifying  : php-gd-7.4.27-1.el7.remi.x86_64         7/21
  Verifying  : php-json-7.4.27-1.el7.remi.x86_64       8/21
  Verifying  : php-cli-7.4.27-1.el7.remi.x86_64        9/21
  Verifying  : php-pdo-7.4.27-1.el7.remi.x86_64       10/21
  Verifying  : php-7.4.27-1.el7.remi.x86_64           11/21
  Verifying  : php-common-7.4.27-1.el7.remi.x86_64    12/21
  Verifying  : php-pecl-zip-1.20.0-1.el7.remi.7.4.x86_64     13/21
  Verifying  : php-sodium-7.4.27-1.el7.remi.x86_64    14/21
  Verifying  : php-bcmath-7.4.27-1.el7.remi.x86_64    15/21
  Verifying  : php-mbstring-7.4.27-1.el7.remi.x86_64  16/21
  Verifying  : php-common-7.4.23-1.el7.remi.x86_64    17/21
  Verifying  : php-sodium-7.4.23-1.el7.remi.x86_64    18/21
  Verifying  : php-json-7.4.23-1.el7.remi.x86_64      19/21
  Verifying  : php-7.4.23-1.el7.remi.x86_64           20/21
  Verifying  : php-cli-7.4.23-1.el7.remi.x86_64       21/21

Installed:
  php-bcmath.x86_64 0:7.4.27-1.el7.remi                     php-fpm.x86_64 0:7.4.27-1.el7.remi
  php-gd.x86_64 0:7.4.27-1.el7.remi                         php-mbstring.x86_64 0:7.4.27-1.el7.remi
  php-mysqlnd.x86_64 0:7.4.27-1.el7.remi                    php-opcache.x86_64 0:7.4.27-1.el7.remi
  php-pdo.x86_64 0:7.4.27-1.el7.remi                        php-pecl-mcrypt.x86_64 0:1.0.4-1.el7.remi.7.4
  php-pecl-zip.x86_64 0:1.20.0-1.el7.remi.7.4               php-xml.x86_64 0:7.4.27-1.el7.remi

Dependency Installed:
  gd3php.x86_64 0:2.3.3-4.el7.remi

Updated:
  php-cli.x86_64 0:7.4.27-1.el7.remi

Dependency Updated:
  php.x86_64 0:7.4.27-1.el7.remi          php-common.x86_64 0:7.4.27-1.el7.remi   php-json.x86_64 0:7.4.27-1.el7.remi
  php-sodium.x86_64 0:7.4.27-1.el7.remi

Complete!
[root@BaiYang-PC zhuyi]#

查看拓展:

[root@BaiYang-PC zhuyi]# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
SimpleXML
sockets
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

安装完成。

phpize 需要用到 php-devel 拓展,不然会报错,在这里也安装好:

[root@BaiYang-PC swoole-src-4.8.4]# phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# yum --enablerepo=remi-php74 install -y php-devel
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-php74: repo.extreme-ix.org
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
remi-php74                           | 3.0 kB  00:00:00
remi-php74/primary_db                | 252 kB  00:00:27
Resolving Dependencies
--> Running transaction check
---> Package php-devel.x86_64 0:7.4.27-1.el7.remi will be installed
--> Processing Dependency: openssl-devel(x86-64) >= 1.0.1 for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Processing Dependency: autoconf for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Processing Dependency: automake for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Processing Dependency: libtool for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Processing Dependency: libxml2-devel(x86-64) for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Processing Dependency: zlib-devel(x86-64) for package: php-devel-7.4.27-1.el7.remi.x86_64
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
--> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch
---> Package krb5-devel.x86_64 0:1.15.1-51.el7_9 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-51.el7_9 for package: krb5-devel-1.15.1-51.el7_9.x86_64
--> Processing Dependency: krb5-libs(x86-64) = 1.15.1-51.el7_9 for package: krb5-devel-1.15.1-51.el7_9.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-51.el7_9.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-51.el7_9.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-51.el7_9.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-51.el7_9.x86_64
---> Package libtool.x86_64 0:2.4.2-22.el7_3 will be installed
---> Package libxml2-devel.x86_64 0:2.9.1-6.el7_9.6 will be installed
--> Processing Dependency: libxml2 = 2.9.1-6.el7_9.6 for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64
--> Processing Dependency: xz-devel for package: libxml2-devel-2.9.1-6.el7_9.6.x86_64
---> Package openssl-devel.x86_64 1:1.0.2k-22.el7_9 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-22.el7_9 for package: 1:openssl-devel-1.0.2k-22.el7_9.x86_64
---> Package zlib-devel.x86_64 0:1.2.7-19.el7_9 will be installed
--> Processing Dependency: zlib = 1.2.7-19.el7_9 for package: zlib-devel-1.2.7-19.el7_9.x86_64
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package krb5-libs.x86_64 0:1.15.1-46.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-51.el7_9 will be an update
---> Package libcom_err-devel.x86_64 0:1.42.9-19.el7 will be installed
--> Processing Dependency: libcom_err(x86-64) = 1.42.9-19.el7 for package: libcom_err-devel-1.42.9-19.el7.x86_64
---> Package libkadm5.x86_64 0:1.15.1-51.el7_9 will be installed
---> Package libselinux-devel.x86_64 0:2.5-15.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-15.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package libxml2.x86_64 0:2.9.1-6.el7.4 will be updated
--> Processing Dependency: libxml2 = 2.9.1-6.el7.4 for package: libxml2-python-2.9.1-6.el7.4.x86_64
---> Package libxml2.x86_64 0:2.9.1-6.el7_9.6 will be an update
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.2k-21.el7_9 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.2k-21.el7_9 for package: 1:openssl-1.0.2k-21.el7_9.x86_64
---> Package openssl-libs.x86_64 1:1.0.2k-22.el7_9 will be an update
---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed
---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
---> Package xz-devel.x86_64 0:5.2.2-1.el7 will be installed
---> Package zlib.x86_64 0:1.2.7-18.el7 will be updated
---> Package zlib.x86_64 0:1.2.7-19.el7_9 will be an update
--> Running transaction check
---> Package libcom_err.x86_64 0:1.42.9-17.el7 will be updated
---> Package libcom_err.x86_64 0:1.42.9-19.el7 will be an update
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
---> Package libxml2-python.x86_64 0:2.9.1-6.el7.4 will be updated
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_9.6 will be an update
---> Package openssl.x86_64 1:1.0.2k-21.el7_9 will be updated
---> Package openssl.x86_64 1:1.0.2k-22.el7_9 will be an update
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
 Package                Arch      Version               Repository     Size
===========================================================================
Installing:
 php-devel              x86_64    7.4.27-1.el7.remi     remi-php74    1.2 M
Installing for dependencies:
 autoconf               noarch    2.69-11.el7           base          701 k
 automake               noarch    1.13.4-3.el7          base          679 k
 keyutils-libs-devel    x86_64    1.5.8-3.el7           base           37 k
 krb5-devel             x86_64    1.15.1-51.el7_9       updates       273 k
 libcom_err-devel       x86_64    1.42.9-19.el7         base           32 k
 libkadm5               x86_64    1.15.1-51.el7_9       updates       179 k
 libselinux-devel       x86_64    2.5-15.el7            base          187 k
 libsepol-devel         x86_64    2.5-10.el7            base           77 k
 libtool                x86_64    2.4.2-22.el7_3        base          588 k
 libverto-devel         x86_64    0.2.5-4.el7           base           12 k
 libxml2-devel          x86_64    2.9.1-6.el7_9.6       updates       1.1 M
 m4                     x86_64    1.4.16-10.el7         base          256 k
 openssl-devel          x86_64    1:1.0.2k-22.el7_9     updates       1.5 M
 pcre-devel             x86_64    8.32-17.el7           base          480 k
 perl-Test-Harness      noarch    3.28-3.el7            base          302 k
 perl-Thread-Queue      noarch    3.02-2.el7            base           17 k
 xz-devel               x86_64    5.2.2-1.el7           base           46 k
 zlib-devel             x86_64    1.2.7-19.el7_9        updates        50 k
Updating for dependencies:
 krb5-libs              x86_64    1.15.1-51.el7_9       updates       809 k
 libcom_err             x86_64    1.42.9-19.el7         base           42 k
 libxml2                x86_64    2.9.1-6.el7_9.6       updates       668 k
 libxml2-python         x86_64    2.9.1-6.el7_9.6       updates       247 k
 openssl                x86_64    1:1.0.2k-22.el7_9     updates       494 k
 openssl-libs           x86_64    1:1.0.2k-22.el7_9     updates       1.2 M
 zlib                   x86_64    1.2.7-19.el7_9        updates        90 k

Transaction Summary
===========================================================================
Install  1 Package  (+18 Dependent packages)
Upgrade             (  7 Dependent packages)

Total size: 11 M
Total download size: 7.6 M
Downloading packages:
(1/19): autoconf-2.69-11.el7.noarch.rpm                 | 701 kB  00:00:04
(2/19): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm      |  37 kB  00:00:00
(3/19): libcom_err-devel-1.42.9-19.el7.x86_64.rpm       |  32 kB  00:00:00
(4/19): automake-1.13.4-3.el7.noarch.rpm                | 679 kB  00:00:05
(5/19): libsepol-devel-2.5-10.el7.x86_64.rpm            |  77 kB  00:00:01
(6/19): libselinux-devel-2.5-15.el7.x86_64.rpm          | 187 kB  00:00:04
(7/19): libverto-devel-0.2.5-4.el7.x86_64.rpm           |  12 kB  00:00:00
(8/19): libkadm5-1.15.1-51.el7_9.x86_64.rpm             | 179 kB  00:00:09
(9/19): krb5-devel-1.15.1-51.el7_9.x86_64.rpm           | 273 kB  00:00:11
(10/19): m4-1.4.16-10.el7.x86_64.rpm                    | 256 kB  00:00:05
(11/19): pcre-devel-8.32-17.el7.x86_64.rpm              | 480 kB  00:00:19
(12/19): openssl-devel-1.0.2k-22.el7_9.x86_64.rpm       | 1.5 MB  00:00:34
(13/19): perl-Test-Harness-3.28-3.el7.noarch.rpm        | 302 kB  00:00:13
(14/19): perl-Thread-Queue-3.02-2.el7.noarch.rpm        |  17 kB  00:00:00
(15/19): xz-devel-5.2.2-1.el7.x86_64.rpm                |  46 kB  00:00:00
(16/19): zlib-devel-1.2.7-19.el7_9.x86_64.rpm           |  50 kB  00:00:00
(17/19): libxml2-devel-2.9.1-6.el7_9.6.x86_64.rpm       | 1.1 MB  00:00:47
(18/19): libtool-2.4.2-22.el7_3.x86_64.rpm              | 588 kB  00:01:01
php-devel-7.4.27-1.el7.remi.x8 FAILED ====-  ]  3.7 B/s | 7.1 MB  38:27:58 ETA
http://mirror.cedia.org.ec/remi/enterprise/7/php74/x86_64/php-devel-7.4.27-1.el7.remi.x86_64.rpm: [Errno 12] Timeout on http://mirror.cedia.org.ec/remi/enterprise/7/php74/x86_64/php-devel-7.4.27-1.el7.remi.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
(19/19): php-devel-7.4.27-1.el7.remi.x86_64.rpm         | 1.2 MB  00:01:41
---------------------------------------------------------------------------
Total                                           30 kB/s | 7.6 MB  00:04:21
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Updating   : libcom_err-1.42.9-19.el7.x86_64         1/33
  Updating   : zlib-1.2.7-19.el7_9.x86_64              2/33
  Updating   : 1:openssl-libs-1.0.2k-22.el7_9.x86_64   3/33
  Updating   : krb5-libs-1.15.1-51.el7_9.x86_64        4/33
  Installing : zlib-devel-1.2.7-19.el7_9.x86_64        5/33
  Updating   : libxml2-2.9.1-6.el7_9.6.x86_64          6/33
  Installing : libkadm5-1.15.1-51.el7_9.x86_64         7/33
  Installing : libcom_err-devel-1.42.9-19.el7.x86_64   8/33
  Installing : xz-devel-5.2.2-1.el7.x86_64             9/33
  Installing : libxml2-devel-2.9.1-6.el7_9.6.x86_64   10/33
  Installing : libsepol-devel-2.5-10.el7.x86_64       11/33
  Installing : perl-Thread-Queue-3.02-2.el7.noarch    12/33
  Installing : perl-Test-Harness-3.28-3.el7.noarch    13/33
  Installing : libverto-devel-0.2.5-4.el7.x86_64      14/33
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64 15/33
  Installing : m4-1.4.16-10.el7.x86_64                16/33
  Installing : autoconf-2.69-11.el7.noarch            17/33
install-info: No such file or directory for /usr/share/info/autoconf.info
  Installing : automake-1.13.4-3.el7.noarch           18/33
install-info: No such file or directory for /usr/share/info/automake.info.gz
  Installing : libtool-2.4.2-22.el7_3.x86_64          19/33
install-info: No such file or directory for /usr/share/info/libtool.info.gz
  Installing : pcre-devel-8.32-17.el7.x86_64          20/33
  Installing : libselinux-devel-2.5-15.el7.x86_64     21/33
  Installing : krb5-devel-1.15.1-51.el7_9.x86_64      22/33
  Installing : 1:openssl-devel-1.0.2k-22.el7_9.x86_64 23/33
  Installing : php-devel-7.4.27-1.el7.remi.x86_64     24/33
  Updating   : libxml2-python-2.9.1-6.el7_9.6.x86_64  25/33
  Updating   : 1:openssl-1.0.2k-22.el7_9.x86_64       26/33
  Cleanup    : 1:openssl-1.0.2k-21.el7_9.x86_64       27/33
  Cleanup    : 1:openssl-libs-1.0.2k-21.el7_9.x86_64  28/33
  Cleanup    : krb5-libs-1.15.1-46.el7.x86_64         29/33
  Cleanup    : libxml2-python-2.9.1-6.el7.4.x86_64    30/33
  Cleanup    : libxml2-2.9.1-6.el7.4.x86_64           31/33
  Cleanup    : zlib-1.2.7-18.el7.x86_64               32/33
  Cleanup    : libcom_err-1.42.9-17.el7.x86_64        33/33
  Verifying  : libselinux-devel-2.5-15.el7.x86_64      1/33
  Verifying  : krb5-libs-1.15.1-51.el7_9.x86_64        2/33
  Verifying  : libxml2-devel-2.9.1-6.el7_9.6.x86_64    3/33
  Verifying  : libxml2-2.9.1-6.el7_9.6.x86_64          4/33
  Verifying  : automake-1.13.4-3.el7.noarch            5/33
  Verifying  : pcre-devel-8.32-17.el7.x86_64           6/33
  Verifying  : zlib-1.2.7-19.el7_9.x86_64              7/33
  Verifying  : m4-1.4.16-10.el7.x86_64                 8/33
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64  9/33
  Verifying  : libkadm5-1.15.1-51.el7_9.x86_64        10/33
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64      11/33
  Verifying  : perl-Test-Harness-3.28-3.el7.noarch    12/33
  Verifying  : libcom_err-1.42.9-19.el7.x86_64        13/33
  Verifying  : perl-Thread-Queue-3.02-2.el7.noarch    14/33
  Verifying  : libtool-2.4.2-22.el7_3.x86_64          15/33
  Verifying  : 1:openssl-1.0.2k-22.el7_9.x86_64       16/33
  Verifying  : php-devel-7.4.27-1.el7.remi.x86_64     17/33
  Verifying  : krb5-devel-1.15.1-51.el7_9.x86_64      18/33
  Verifying  : 1:openssl-devel-1.0.2k-22.el7_9.x86_64 19/33
  Verifying  : libsepol-devel-2.5-10.el7.x86_64       20/33
  Verifying  : 1:openssl-libs-1.0.2k-22.el7_9.x86_64  21/33
  Verifying  : xz-devel-5.2.2-1.el7.x86_64            22/33
  Verifying  : autoconf-2.69-11.el7.noarch            23/33
  Verifying  : zlib-devel-1.2.7-19.el7_9.x86_64       24/33
  Verifying  : libxml2-python-2.9.1-6.el7_9.6.x86_64  25/33
  Verifying  : libcom_err-devel-1.42.9-19.el7.x86_64  26/33
  Verifying  : libcom_err-1.42.9-17.el7.x86_64        27/33
  Verifying  : zlib-1.2.7-18.el7.x86_64               28/33
  Verifying  : krb5-libs-1.15.1-46.el7.x86_64         29/33
  Verifying  : libxml2-python-2.9.1-6.el7.4.x86_64    30/33
  Verifying  : 1:openssl-libs-1.0.2k-21.el7_9.x86_64  31/33
  Verifying  : 1:openssl-1.0.2k-21.el7_9.x86_64       32/33
  Verifying  : libxml2-2.9.1-6.el7.4.x86_64           33/33

Installed:
  php-devel.x86_64 0:7.4.27-1.el7.remi

Dependency Installed:
  autoconf.noarch 0:2.69-11.el7                                automake.noarch 0:1.13.4-3.el7
  keyutils-libs-devel.x86_64 0:1.5.8-3.el7                     krb5-devel.x86_64 0:1.15.1-51.el7_9
  libcom_err-devel.x86_64 0:1.42.9-19.el7                      libkadm5.x86_64 0:1.15.1-51.el7_9
  libselinux-devel.x86_64 0:2.5-15.el7                         libsepol-devel.x86_64 0:2.5-10.el7
  libtool.x86_64 0:2.4.2-22.el7_3                              libverto-devel.x86_64 0:0.2.5-4.el7
  libxml2-devel.x86_64 0:2.9.1-6.el7_9.6                       m4.x86_64 0:1.4.16-10.el7
  openssl-devel.x86_64 1:1.0.2k-22.el7_9                       pcre-devel.x86_64 0:8.32-17.el7
  perl-Test-Harness.noarch 0:3.28-3.el7                        perl-Thread-Queue.noarch 0:3.02-2.el7
  xz-devel.x86_64 0:5.2.2-1.el7                                zlib-devel.x86_64 0:1.2.7-19.el7_9

Dependency Updated:
  krb5-libs.x86_64 0:1.15.1-51.el7_9        libcom_err.x86_64 0:1.42.9-19.el7   libxml2.x86_64 0:2.9.1-6.el7_9.6
  libxml2-python.x86_64 0:2.9.1-6.el7_9.6   openssl.x86_64 1:1.0.2k-22.el7_9    openssl-libs.x86_64 1:1.0.2k-22.el7_9
  zlib.x86_64 0:1.2.7-19.el7_9

Complete!
[root@BaiYang-PC swoole-src-4.8.4]#

代码中如果用到进程管理,会需要 php-posix 拓展,这里也安装一下:

[root@BaiYang-PC swoole]# yum --enablerepo=remi-php74 install -y php-posix
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
epel/x86_64/metalink                                   | 8.2 kB  00:00:00
 * base: mirrors.aliyun.com
 * epel: mirrors.thzhost.com
 * extras: mirrors.aliyun.com
 * remi-php74: mirrors.upr.edu
 * remi-safe: mirrors.upr.edu
 * updates: mirrors.aliyun.com
base                                                   | 3.6 kB  00:00:00
extras                                                 | 2.9 kB  00:00:00
nginx-stable                                           | 2.9 kB  00:00:00
remi-php74                                             | 3.0 kB  00:00:00
remi-safe                                              | 3.0 kB  00:00:00
updates                                                | 2.9 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php-process.x86_64 0:7.4.27-1.el7.remi will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================
 Package            Arch          Version               Repository         Size
===============================================================================
Installing:
 php-process        x86_64        7.4.27-1.el7.remi     remi-php74         92 k

Transaction Summary
==============================================================================
Install  1 Package

Total download size: 92 k
Installed size: 200 k
Downloading packages:
php-process-7.4.27-1.el7.remi.x86_64.rpm                          |  92 kB  00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : php-process-7.4.27-1.el7.remi.x86_64                 1/1
  Verifying  : php-process-7.4.27-1.el7.remi.x86_64                 1/1

Installed:
  php-process.x86_64 0:7.4.27-1.el7.remi

Complete!
[root@BaiYang-PC swoole]#
[root@BaiYang-PC swoole]# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
sqlite3
standard
swoole
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

[root@BaiYang-PC swoole]# 

fpm配置

查看版本及帮助信息:

[root@BaiYang-PC ~]# php -v
PHP 7.4.27 (cli) (built: Dec 14 2021 17:17:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# php-fpm -v
PHP 7.4.27 (fpm-fcgi) (built: Dec 14 2021 17:17:06)
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# php-fpm -h
Usage: php [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>] [-D] [-F [-O]]
  -c <path>|<file> Look for php.ini file in this directory
  -n               No php.ini file will be used
  -d foo[=bar]     Define INI entry foo with value 'bar'
  -e               Generate extended information for debugger/profiler
  -h               This help
  -i               PHP information
  -m               Show compiled in modules
  -v               Version number
  -p, --prefix <dir>
                   Specify alternative prefix path to FastCGI process manager (default: /usr).
  -g, --pid <file>
                   Specify the PID file location.
  -y, --fpm-config <file>
                   Specify alternative path to FastCGI process manager config file.
  -t, --test       Test FPM configuration and exit
  -D, --daemonize  force to run in background, and ignore daemonize option from config file
  -F, --nodaemonize
                   force to stay in foreground, and ignore daemonize option from config file
  -O, --force-stderr
                   force output to stderr in nodaemonize even if stderr is not a TTY
  -R, --allow-to-run-as-root
                   Allow pool to run as root (disabled by default)
[root@BaiYang-PC ~]#

查看脚本位置:

[root@BaiYang-PC ~]# whereis php
php: /usr/bin/php /usr/lib64/php /etc/php.d /etc/php.ini /usr/include/php /usr/share/php
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# whereis php-fpm
php-fpm: /usr/sbin/php-fpm /etc/php-fpm.d /etc/php-fpm.conf
[root@BaiYang-PC ~]#

启动:

[root@BaiYang-PC ~]# php-fpm
[25-Dec-2021 14:51:06] ERROR: Unable to create the PID file (/run/php-fpm/php-fpm.pid).: No such file or directory (2)
[25-Dec-2021 14:51:06] ERROR: FPM initialization failed
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# vi /etc/php-fpm.conf
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# mkdir /run/php-fpm
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# php-fpm
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    900   528 ?        Sl   00:32   0:00 /init
root     19036  0.0  0.0    900    84 ?        Ss   04:15   0:00 /init
root     19037  0.0  0.0    908    84 ?        R    04:15   0:02 /init
root     19038  0.0  0.0  13544  3520 pts/0    Ss   04:15   0:01 -bash
root     19366  0.2  0.0 413216 15764 ?        Ss   14:51   0:00 php-fpm: master process (/etc/php-fpm.co
apache   19367  0.0  0.0 413216 14124 ?        S    14:51   0:00 php-fpm: pool www
apache   19368  0.0  0.0 413216 14124 ?        S    14:51   0:00 php-fpm: pool www
apache   19369  0.0  0.0 413216 14124 ?        S    14:51   0:00 php-fpm: pool www
apache   19370  0.0  0.0 413216 14128 ?        S    14:51   0:00 php-fpm: pool www
apache   19371  0.0  0.0 413216 14128 ?        S    14:51   0:00 php-fpm: pool www
root     19372  0.0  0.0  53368  3900 pts/0    R+   14:52   0:00 ps aux
[root@BaiYang-PC ~]#

看一下服务配置:

[root@BaiYang-PC ~]# ls -l /etc/systemd/system/php-fpm.service.d/
total 0
[root@BaiYang-PC ~]# ls -l /etc/systemd/system/php74-php-fpm.service.d/
total 0
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# ls -l /usr/lib/systemd/system/ | grep php
-rw-r--r-- 1 root root  502 Aug 25 01:44 php74-php-fpm.service
-rw-r--r-- 1 root root  518 Dec 15 15:47 php-fpm.service
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# cat /usr/lib/systemd/system/php74-php-fpm.service
# It's not recommended to modify this file in-place, because it
# will be overwritten during upgrades.  If you want to customize,
# the best way is to use the "systemctl edit" command.

[Unit]
Description=The PHP FastCGI Process Manager
After=syslog.target network.target

[Service]
Type=notify
EnvironmentFile=/etc/opt/remi/php74/sysconfig/php-fpm
ExecStart=/opt/remi/php74/root/usr/sbin/php-fpm --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target

[root@BaiYang-PC ~]# cat /usr/lib/systemd/system/php-fpm.service
# It's not recommended to modify this file in-place, because it
# will be overwritten during upgrades.  If you want to customize,
# the best way is to use the "systemctl edit" command.

[Unit]
Description=The PHP FastCGI Process Manager
After=syslog.target network.target

[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/php-fpm
ExecStart=/usr/sbin/php-fpm --nodaemonize
ExecReload=/bin/kill -USR2 $MAINPID
PrivateTmp=true
RuntimeDirectory=php-fpm
RuntimeDirectoryMode=0755

[Install]
WantedBy=multi-user.target

[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# systemctl enable php-fpm
Created symlink /etc/systemd/system/multi-user.target.wants/php-fpm.service, pointing to /usr/lib/systemd/system/php-fpm.service.
[root@BaiYang-PC ~]#
[root@BaiYang-PC ~]# ls -l /etc/systemd/system/multi-user.target.wants/
total 0
lrwxrwxrwx 1 root root 37 Dec 25 14:41 nginx.service -> /usr/lib/systemd/system/nginx.service
lrwxrwxrwx 1 root root 39 Dec 25 15:29 php-fpm.service -> /usr/lib/systemd/system/php-fpm.service
lrwxrwxrwx 1 root root 40 May  5  2020 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target
[root@BaiYang-PC ~]#

可以看到,重启 php-fpm 进程,是运行Linux命令 /bin/kill -USR2 $MAINPID$MAINPID 是fpm进程启动时的主进程ID, 看来是 Linux 命令把该进程进行重启。

重启我们可以使用:

/bin/kill -s HUP $MAINPID

停止我们可以使用:

/bin/kill -s TERM $MAINPID

Web项目配置

php-fpm 与 nignx 信息交互有两种方式:

  1. ip:port 方式
  2. socket 方式

通过相应方式配置Nginx的web配置文件。

我们查看php-fpm配置文件,确认fpm是通过什么方式交互信息。

查看 /etc/php-fpm.conf 文件内容:

[root@BaiYang-PC ~]# cat /etc/php-fpm.conf
;;;;;;;;;;;;;;;;;;;;;
; FPM Configuration ;
;;;;;;;;;;;;;;;;;;;;;

; All relative paths in this configuration file are relative to PHP's install
; prefix.

; Include one or more files. If glob(3) exists, it is used to include a bunch of
; files from a glob(3) pattern. This directive can be used everywhere in the
; file.
include=/etc/php-fpm.d/*.conf

;;;;;;;;;;;;;;;;;;
; Global Options ;
;;;;;;;;;;;;;;;;;;

[global]
; Pid file
; Default Value: none
pid = /run/php-fpm/php-fpm.pid

; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written
; in a local file.
; Default Value: /var/log/php-fpm.log
error_log = /var/log/php-fpm/error.log

; syslog_facility is used to specify what type of program is logging the
; message. This lets syslogd specify that messages from different facilities
; will be handled differently.
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
; Default Value: daemon
;syslog.facility = daemon

; syslog_ident is prepended to every message. If you have multiple FPM
; instances running on the same server, you can change the default value
; which must suit common needs.
; Default Value: php-fpm
;syslog.ident = php-fpm

; Log level
; Possible Values: alert, error, warning, notice, debug
; Default Value: notice
;log_level = notice

; Log limit on number of characters in the single line (log entry). If the
; line is over the limit, it is wrapped on multiple lines. The limit is for
; all logged characters including message prefix and suffix if present. However
; the new line character does not count into it as it is present only when
; logging to a file descriptor. It means the new line character is not present
; when logging to syslog.
; Default Value: 1024
;log_limit = 4096

; Log buffering specifies if the log line is buffered which means that the
; line is written in a single write operation. If the value is false, then the
; data is written directly into the file descriptor. It is an experimental
; option that can potentionaly improve logging performance and memory usage
; for some heavy logging scenarios. This option is ignored if logging to syslog
; as it has to be always buffered.
; Default value: yes
;log_buffering = no

; If this number of child processes exit with SIGSEGV or SIGBUS within the time
; interval set by emergency_restart_interval then FPM will restart. A value
; of '0' means 'Off'.
; Default Value: 0
;emergency_restart_threshold = 0

; Interval of time used by emergency_restart_interval to determine when
; a graceful restart will be initiated.  This can be useful to work around
; accidental corruptions in an accelerator's shared memory.
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
; Default Unit: seconds
; Default Value: 0
;emergency_restart_interval = 0

; Time limit for child processes to wait for a reaction on signals from master.
; Available units: s(econds), m(inutes), h(ours), or d(ays)
; Default Unit: seconds
; Default Value: 0
;process_control_timeout = 0

; The maximum number of processes FPM will fork. This has been designed to control
; the global number of processes when using dynamic PM within a lot of pools.
; Use it with caution.
; Note: A value of 0 indicates no limit
; Default Value: 0
;process.max = 128

; Specify the nice(2) priority to apply to the master process (only if set)
; The value can vary from -19 (highest priority) to 20 (lowest priority)
; Note: - It will only work if the FPM master process is launched as root
;       - The pool process will inherit the master process priority
;         unless specified otherwise
; Default Value: no set
;process.priority = -19

; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
; Default Value: yes
daemonize = yes

; Set open file descriptor rlimit for the master process.
; Default Value: system defined value
;rlimit_files = 1024

; Set max core size rlimit for the master process.
; Possible Values: 'unlimited' or an integer greater or equal to 0
; Default Value: system defined value
;rlimit_core = 0

; Specify the event mechanism FPM will use. The following is available:
; - select     (any POSIX os)
; - poll       (any POSIX os)
; - epoll      (linux >= 2.5.44)
; Default Value: not set (auto detection)
;events.mechanism = epoll

; When FPM is built with systemd integration, specify the interval,
; in seconds, between health report notification to systemd.
; Set to 0 to disable.
; Available Units: s(econds), m(inutes), h(ours)
; Default Unit: seconds
; Default value: 10
;systemd_interval = 10

;;;;;;;;;;;;;;;;;;;;
; Pool Definitions ;
;;;;;;;;;;;;;;;;;;;;

; Multiple pools of child processes may be started with different listening
; ports and different management options.  The name of the pool will be
; used in logs and stats. There is no limitation on the number of pools which
; FPM can handle. Your system will tell you anyway :)

; See /etc/php-fpm.d/*.conf

[root@BaiYang-PC ~]#

查看下级配置文件名:

[root@BaiYang-PC ~]# ls -l /etc/php-fpm.d
total 20
-rw-r--r-- 1 root root 19485 Dec 15 15:47 www.conf
[root@BaiYang-PC ~]#

查看 /etc/php-fpm.d/www.conf 文件内容:

[root@BaiYang-PC ~]# cat /etc/php-fpm.d/www.conf
; Start a new pool named 'www'.
; the variable $pool can be used in any directive and will be replaced by the
; pool name ('www' here)
[www]

; Per pool prefix
; It only applies on the following directives:
; - 'access.log'
; - 'slowlog'
; - 'listen' (unixsocket)
; - 'chroot'
; - 'chdir'
; - 'php_values'
; - 'php_admin_values'
; When not set, the global prefix (or @php_fpm_prefix@) applies instead.
; Note: This directive can also be relative to the global prefix.
; Default Value: none
;prefix = /path/to/pools/$pool

; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user's group
;       will be used.
; RPM: apache user chosen to provide access to the same directories as httpd
user = apache
; RPM: Keep a group allowed to write in log dir.
group = apache

; The address on which to accept FastCGI requests.
; Valid syntaxes are:
;   'ip.add.re.ss:port'    - to listen on a TCP socket to a specific IPv4 address on
;                            a specific port;
;   '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
;                            a specific port;
;   'port'                 - to listen on a TCP socket to all addresses
;                            (IPv6 and IPv4-mapped) on a specific port;
;   '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = 127.0.0.1:9000

; Set listen(2) backlog.
; Default Value: 511
;listen.backlog = 511

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server.
; Default Values: user and group are set as the running user
;                 mode is set to 0660
;listen.owner = nobody
;listen.group = nobody
;listen.mode = 0660

; When POSIX Access Control Lists are supported you can set them using
; these options, value is a comma separated list of user/group names.
; When set, listen.owner and listen.group are ignored
;listen.acl_users = apache,nginx
;listen.acl_groups =

; List of addresses (IPv4/IPv6) of FastCGI clients which are allowed to connect.
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
; must be separated by a comma. If this value is left blank, connections will be
; accepted from any ip address.
; Default Value: any
listen.allowed_clients = 127.0.0.1

; Specify the nice(2) priority to apply to the pool processes (only if set)
; The value can vary from -19 (highest priority) to 20 (lower priority)
; Note: - It will only work if the FPM master process is launched as root
;       - The pool processes will inherit the master process priority
;         unless it specified otherwise
; Default Value: no set
; process.priority = -19

; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user
; or group is differrent than the master process user. It allows to create process
; core dump and ptrace the process for the pool user.
; Default Value: no
; process.dumpable = yes

; Choose how the process manager will control the number of child processes.
; Possible Values:
;   static  - a fixed number (pm.max_children) of child processes;
;   dynamic - the number of child processes are set dynamically based on the
;             following directives. With this process management, there will be
;             always at least 1 children.
;             pm.max_children      - the maximum number of children that can
;                                    be alive at the same time.
;             pm.start_servers     - the number of children created on startup.
;             pm.min_spare_servers - the minimum number of children in 'idle'
;                                    state (waiting to process). If the number
;                                    of 'idle' processes is less than this
;                                    number then some children will be created.
;             pm.max_spare_servers - the maximum number of children in 'idle'
;                                    state (waiting to process). If the number
;                                    of 'idle' processes is greater than this
;                                    number then some children will be killed.
;  ondemand - no children are created at startup. Children will be forked when
;             new requests will connect. The following parameter are used:
;             pm.max_children           - the maximum number of children that
;                                         can be alive at the same time.
;             pm.process_idle_timeout   - The number of seconds after which
;                                         an idle process will be killed.
; Note: This value is mandatory.
pm = dynamic

; The number of child processes to be created when pm is set to 'static' and the
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
; This value sets the limit on the number of simultaneous requests that will be
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
; CGI. The below defaults are based on a server without much resources. Don't
; forget to tweak pm.* to fit your needs.
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
; Note: This value is mandatory.
pm.max_children = 50

; The number of child processes created on startup.
; Note: Used only when pm is set to 'dynamic'
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
pm.start_servers = 5

; The desired minimum number of idle server processes.
; Note: Used only when pm is set to 'dynamic'
; Note: Mandatory when pm is set to 'dynamic'
pm.min_spare_servers = 5

; The desired maximum number of idle server processes.
; Note: Used only when pm is set to 'dynamic'
; Note: Mandatory when pm is set to 'dynamic'
pm.max_spare_servers = 35

; The number of seconds after which an idle process will be killed.
; Note: Used only when pm is set to 'ondemand'
; Default Value: 10s
;pm.process_idle_timeout = 10s;

; The number of requests each child process should execute before respawning.
; This can be useful to work around memory leaks in 3rd party libraries. For
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
; Default Value: 0
;pm.max_requests = 500

; The URI to view the FPM status page. If this value is not set, no URI will be
; recognized as a status page. It shows the following informations:
;   pool                 - the name of the pool;
;   process manager      - static, dynamic or ondemand;
;   start time           - the date and time FPM has started;
;   start since          - number of seconds since FPM has started;
;   accepted conn        - the number of request accepted by the pool;
;   listen queue         - the number of request in the queue of pending
;                          connections (see backlog in listen(2));
;   max listen queue     - the maximum number of requests in the queue
;                          of pending connections since FPM has started;
;   listen queue len     - the size of the socket queue of pending connections;
;   idle processes       - the number of idle processes;
;   active processes     - the number of active processes;
;   total processes      - the number of idle + active processes;
;   max active processes - the maximum number of active processes since FPM
;                          has started;
;   max children reached - number of times, the process limit has been reached,
;                          when pm tries to start more children (works only for
;                          pm 'dynamic' and 'ondemand');
; Value are updated in real time.
; Example output:
;   pool:                 www
;   process manager:      static
;   start time:           01/Jul/2011:17:53:49 +0200
;   start since:          62636
;   accepted conn:        190460
;   listen queue:         0
;   max listen queue:     1
;   listen queue len:     42
;   idle processes:       4
;   active processes:     11
;   total processes:      15
;   max active processes: 12
;   max children reached: 0
;
; By default the status page output is formatted as text/plain. Passing either
; 'html', 'xml' or 'json' in the query string will return the corresponding
; output syntax. Example:
;   http://www.foo.bar/status
;   http://www.foo.bar/status?json
;   http://www.foo.bar/status?html
;   http://www.foo.bar/status?xml
;
; By default the status page only outputs short status. Passing 'full' in the
; query string will also return status for each pool process.
; Example:
;   http://www.foo.bar/status?full
;   http://www.foo.bar/status?json&full
;   http://www.foo.bar/status?html&full
;   http://www.foo.bar/status?xml&full
; The Full status returns for each process:
;   pid                  - the PID of the process;
;   state                - the state of the process (Idle, Running, ...);
;   start time           - the date and time the process has started;
;   start since          - the number of seconds since the process has started;
;   requests             - the number of requests the process has served;
;   request duration     - the duration in µs of the requests;
;   request method       - the request method (GET, POST, ...);
;   request URI          - the request URI with the query string;
;   content length       - the content length of the request (only with POST);
;   user                 - the user (PHP_AUTH_USER) (or '-' if not set);
;   script               - the main script called (or '-' if not set);
;   last request cpu     - the %cpu the last request consumed
;                          it's always 0 if the process is not in Idle state
;                          because CPU calculation is done when the request
;                          processing has terminated;
;   last request memory  - the max amount of memory the last request consumed
;                          it's always 0 if the process is not in Idle state
;                          because memory calculation is done when the request
;                          processing has terminated;
; If the process is in Idle state, then informations are related to the
; last request the process has served. Otherwise informations are related to
; the current request being served.
; Example output:
;   ************************
;   pid:                  31330
;   state:                Running
;   start time:           01/Jul/2011:17:53:49 +0200
;   start since:          63087
;   requests:             12808
;   request duration:     1250261
;   request method:       GET
;   request URI:          /test_mem.php?N=10000
;   content length:       0
;   user:                 -
;   script:               /home/fat/web/docs/php/test_mem.php
;   last request cpu:     0.00
;   last request memory:  0
;
; Note: There is a real-time FPM status monitoring sample web page available
;       It's available in: @EXPANDED_DATADIR@/fpm/status.html
;
; Note: The value must start with a leading slash (/). The value can be
;       anything, but it may not be a good idea to use the .php extension or it
;       may conflict with a real PHP file.
; Default Value: not set
;pm.status_path = /status

; The ping URI to call the monitoring page of FPM. If this value is not set, no
; URI will be recognized as a ping page. This could be used to test from outside
; that FPM is alive and responding, or to
; - create a graph of FPM availability (rrd or such);
; - remove a server from a group if it is not responding (load balancing);
; - trigger alerts for the operating team (24/7).
; Note: The value must start with a leading slash (/). The value can be
;       anything, but it may not be a good idea to use the .php extension or it
;       may conflict with a real PHP file.
; Default Value: not set
;ping.path = /ping

; This directive may be used to customize the response of a ping request. The
; response is formatted as text/plain with a 200 response code.
; Default Value: pong
;ping.response = pong

; The access log file
; Default: not set
;access.log = log/$pool.access.log

; The access log format.
; The following syntax is allowed
;  %%: the '%' character
;  %C: %CPU used by the request
;  %d: time taken to serve the request
;  %e: an environment variable (same as $_ENV or $_SERVER)
;  %f: script filename
;  %l: content-length of the request (for POST request only)
;  %m: request method
;  %M: peak of memory allocated by PHP
;  %n: pool name
;  %o: output header
;  %p: PID of the child that serviced the request
;  %P: PID of the parent of the child that serviced the request
;  %q: the query string
;  %Q: the '?' character if query string exists
;  %r: the request URI (without the query string, see %q and %Q)
;  %R: remote IP address
;  %s: status (response code)
;  %t: server time the request was received
;  %T: time the log has been written (the request has finished)
;  %u: remote user
;
; Default: "%R - %u %t \"%m %r\" %s"
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f  %C%%"

; The log file for slow requests
; Default Value: not set
; Note: slowlog is mandatory if request_slowlog_timeout is set
slowlog = /var/log/php-fpm/www-slow.log

; The timeout for serving a single request after which a PHP backtrace will be
; dumped to the 'slowlog' file. A value of '0s' means 'off'.
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
; Default Value: 0
;request_slowlog_timeout = 0

; Depth of slow log stack trace.
; Default Value: 20
;request_slowlog_trace_depth = 20

; The timeout for serving a single request after which the worker process will
; be killed. This option should be used when the 'max_execution_time' ini option
; does not stop script execution for some reason. A value of '0' means 'off'.
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
; Default Value: 0
;request_terminate_timeout = 0

; Set open file descriptor rlimit.
; Default Value: system defined value
;rlimit_files = 1024

; Set max core size rlimit.
; Possible Values: 'unlimited' or an integer greater or equal to 0
; Default Value: system defined value
;rlimit_core = 0

; Chroot to this directory at the start. This value must be defined as an
; absolute path. When this value is not set, chroot is not used.
; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
; of its subdirectories. If the pool prefix is not set, the global prefix
; will be used instead.
; Note: chrooting is a great security feature and should be used whenever
;       possible. However, all PHP paths will be relative to the chroot
;       (error_log, sessions.save_path, ...).
; Default Value: not set
;chroot =

; Chdir to this directory at the start.
; Note: relative path can be used.
; Default Value: current directory or / when chroot
;chdir = /var/www

; Redirect worker stdout and stderr into main error log. If not set, stdout and
; stderr will be redirected to /dev/null according to FastCGI specs.
; Note: on highloaded environement, this can cause some delay in the page
; process time (several ms).
; Default Value: no
;catch_workers_output = yes

; Clear environment in FPM workers
; Prevents arbitrary environment variables from reaching FPM worker processes
; by clearing the environment in workers before env vars specified in this
; pool configuration are added.
; Setting to "no" will make all environment variables available to PHP code
; via getenv(), $_ENV and $_SERVER.
; Default Value: yes
;clear_env = no

; Limits the extensions of the main script FPM will allow to parse. This can
; prevent configuration mistakes on the web server side. You should only limit
; FPM to .php extensions to prevent malicious users to use other extensions to
; execute php code.
; Note: set an empty value to allow all extensions.
; Default Value: .php
;security.limit_extensions = .php .php3 .php4 .php5 .php7

; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
; the current environment.
; Default Value: clean env
;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp

; Additional php.ini defines, specific to this pool of workers. These settings
; overwrite the values previously defined in the php.ini. The directives are the
; same as the PHP SAPI:
;   php_value/php_flag             - you can set classic ini defines which can
;                                    be overwritten from PHP call 'ini_set'.
;   php_admin_value/php_admin_flag - these directives won't be overwritten by
;                                     PHP call 'ini_set'
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.

; Defining 'extension' will load the corresponding shared extension from
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
; overwrite previously defined php.ini values, but will append the new value
; instead.

; Note: path INI options can be relative and will be expanded with the prefix
; (pool, global or @prefix@)

; Default Value: nothing is defined by default except the values in php.ini and
;                specified at startup with the -d argument
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
php_admin_value[error_log] = /var/log/php-fpm/www-error.log
php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 128M

; Set the following data paths to directories owned by the FPM process user.
;
; Do not change the ownership of existing system directories, if the process
; user does not have write permission, create dedicated directories for this
; purpose.
;
; See warning about choosing the location of these directories on your system
; at http://php.net/session.save-path
php_value[session.save_handler] = files
php_value[session.save_path]    = /var/lib/php/session
php_value[soap.wsdl_cache_dir]  = /var/lib/php/wsdlcache
;php_value[opcache.file_cache]  = /var/lib/php/opcache
[root@BaiYang-PC ~]#

看到是通过 ip:prot 方式。

修改 G:\www\vhost\ 中自己写的项目的配置文件,如 abc.test.conf:

server {
    listen       80;
    server_name  abc.test;

    location / {
        root   /mnt/g/www/abc;
        index  index.php;
    }
    
    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_pass 127.0.0.1:9000;
        try_files $uri =404;
    }

    # redirect server error pages to the static page /50x.html
    #
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /usr/share/nginx/html;
    }
}

/mnt/g/www/abc/index.php 中写入:

<?php
phpinfo();

启动 php-fpm:

php-fpm

启动 nginx:

nginx

打开浏览器,访问 abc.test,查看 php 详情。

卸载 php7.4

yum remove php74-php*

Composer安装

主要命令:

> php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
> php composer-setup.php
> mv composer.phar /usr/local/bin/composer

具体流程,到/usr/local/src下操作:

[root@BaiYang-PC zhuyi]# cd /usr/local/src
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
Installer verified
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# php composer-setup.php
All settings correct for using Composer
Downloading...

Composer (version 2.2.1) successfully installed to: /usr/local/src/composer.phar
Use it: php composer.phar

[root@BaiYang-PC src]# ls
composer.phar  composer-setup.php  protobuf-3.11.2  protobuf-all-3.11.2.zip
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# php -r "unlink('composer-setup.php');"
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mv composer.phar /usr/local/bin/composer
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# composer -v
   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 2.2.1 2021-12-22 22:21:31

Usage:
  command [options] [arguments]

Options:
  -h, --help                     Display this help message
  -q, --quiet                    Do not output any message
  -V, --version                  Display this application version
      --ansi                     Force ANSI output
      --no-ansi                  Disable ANSI output
  -n, --no-interaction           Do not ask any interactive question
      --profile                  Display timing and memory usage information
      --no-plugins               Whether to disable plugins.
      --no-scripts               Skips the execution of all scripts defined in composer.json file.
  -d, --working-dir=WORKING-DIR  If specified, use the given directory as working directory.
      --no-cache                 Prevent use of the cache
  -v|vv|vvv, --verbose           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  about                Shows a short information about Composer.
  archive              Creates an archive of this composer package.
  browse               Opens the package's repository URL or homepage in your browser.
  cc                   Clears composer's internal package cache.
  check-platform-reqs  Check that platform requirements are satisfied.
  clear-cache          Clears composer's internal package cache.
  clearcache           Clears composer's internal package cache.
  config               Sets config options.
  create-project       Creates new project from a package into given directory.
  depends              Shows which packages cause the given package to be installed.
  diagnose             Diagnoses the system to identify common errors.
  dump-autoload        Dumps the autoloader.
  dumpautoload         Dumps the autoloader.
  exec                 Executes a vendored binary/script.
  fund                 Discover how to help fund the maintenance of your dependencies.
  global               Allows running commands in the global composer dir ($COMPOSER_HOME).
  help                 Displays help for a command
  home                 Opens the package's repository URL or homepage in your browser.
  i                    Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
  info                 Shows information about packages.
  init                 Creates a basic composer.json file in current directory.
  install              Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
  licenses             Shows information about licenses of dependencies.
  list                 Lists commands
  outdated             Shows a list of installed packages that have updates available, including their latest version.
  prohibits            Shows which packages prevent the given package from being installed.
  reinstall            Uninstalls and reinstalls the given package names
  remove               Removes a package from the require or require-dev.
  require              Adds required packages to your composer.json and installs them.
  run                  Runs the scripts defined in composer.json.
  run-script           Runs the scripts defined in composer.json.
  search               Searches for packages.
  self-update          Updates composer.phar to the latest version.
  selfupdate           Updates composer.phar to the latest version.
  show                 Shows information about packages.
  status               Shows a list of locally modified packages.
  suggests             Shows package suggestions.
  u                    Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
  update               Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
  upgrade              Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
  validate             Validates a composer.json and composer.lock.
  why                  Shows which packages cause the given package to be installed.
  why-not              Shows which packages prevent the given package from being installed.
[root@BaiYang-PC src]#

asset插件

有些项目需要Bower管理前端资源,我们可以用 composer 的 fxp/composer-asset-plugin 插件来实现前端资源管理。

到 https://pkg.phpcomposer.com/ 该网站搜索 fxp/composer-asset-plugin 包 安装最新版:

composer global require "fxp/composer-asset-plugin:~1.4"

报错了:

[root@BaiYang-PC src]# composer global require "fxp/composer-asset-plugin:~1.4"
Changed current directory to /root/.config/composer

Installation failed, deleting ./composer.json.


  [RuntimeException]
  No composer.json present in the current directory (./composer.json), this may be the cause of the following exception.


  [InvalidArgumentException]
  Package fxp/composer-asset-plugin at version ~1.4 has requirements incompatible with your PHP version, PHP extensions and Composer version:
    - fxp/composer-asset-plugin v1.4.6 requires composer-plugin-api ^1.0 which does not match your installed version 2.2.0.


require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

[root@BaiYang-PC src]# rm -f /usr/local/bin/composer

composer包版本高了。

Composer卸载

我们只要把composer文件移除就可以:

[root@BaiYang-PC src]# rm -f /usr/local/bin/composer

安装指定版本的 Composer:

[root@BaiYang-PC src]#
[root@BaiYang-PC src]# php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
[root@BaiYang-PC src]# php composer-setup.php --version=1.6.5
All settings correct for using Composer
Downloading...

Composer (version 1.6.5) successfully installed to: /usr/local/src/composer.phar
Use it: php composer.phar

[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mv composer.phar /usr/local/bin/composer
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# composer -v
   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 1.6.5 2018-05-04 11:44:59

安装 fxp/composer-asset-plugin 前端资源管理插件:

[root@BaiYang-PC src]# composer global require "fxp/composer-asset-plugin:~1.4"
Changed current directory to /root/.composer
Warning from https://packagist.org: Support for Composer 1 is deprecated and some packages will not be available. 
You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/



^C
[root@BaiYang-PC src]#

命令行停滞在这了,说 Composer 1 被抛弃了,已经不可使用了。看来 fxp/composer-asset-plugin 这个插件包是没办法安装使用了。

更新 Composer:

[root@BaiYang-PC src]# composer self-update
[root@BaiYang-PC src]# composer -v
   ______
  / ____/___  ____ ___  ____  ____  ________  _____
 / /   / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__  )  __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
                    /_/
Composer version 2.2.1 2021-12-22 22:21:31

如果是安装Yii2需要 fxp/composer-asset-plugin 管理asset前端资源,我们可以按照 Yii2说明文档:

您可能希望通过本地 Bower/NPM 客户端管理您的 assets,使用 CDN 或完全避免 assets 的安装。 
为了防止通过 Composer 安装 assets,请将以下几行添加到您的 'composer.json' 中:
"replace": {
    "bower-asset/jquery": ">=1.11.0",
    "bower-asset/inputmask": ">=3.2.0",
    "bower-asset/punycode": ">=1.3.0",
    "bower-asset/yii2-pjax": ">=2.0.0"
},

MySQL安装

大体过程:

cd /usr/local/src
// 下载包源
wget https://repo.mysql.com/mysql80-community-release-el7-4.noarch.rpm
// 安装包源
yum localinstall mysql80-community-release-el7-4.noarch.rpm
// 安装MySQL
yum install -y mysql-community-server

安装完成。

接下来进行启动配置。

编辑 /etc/my.cnf ,加一行,以mysql用户启动:

user=mysql

/etc/my.cnf ,再加一行,可远程登录管理:

bind-address = 0.0.0.0

修改文件夹 /var/lib/mysql 为 mysql用户所有:

chown mysql:mysql -R /var/lib/mysql

启动:

mysqld

可能会启动不成功,即使启动成功,窗口也会一直停在运行状态。

删除后重新生成:

> rm -rf /var/lib/mysql
> 
> mysqld --initialize --console

后台运行:

nohup mysqld 1>/dev/null 2>&1 &

查看root账号密码:

> cat /var/log/mysqld.log | grep password

mysql -uroot -p

更改root账号密码为root,加密方式改为mysql_native_password:

ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘root’;

设置可远程登录:

> use mysql;
>
> update user set host='%' where user='root';
>
> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION;
> 
> FLUSH PRIVILEGES;

多说两句:

/etc/my.cnf ,加一行,修改加密方式:

default_authentication_plugin = mysql_native_password

更多可以参看下面的 WSL2子系统安装CentOS8及源码编译安装Nginx1.18+PHP7.4+MySql8.0开发

安装详细过程:

[root@BaiYang-PC zhuyi]# cd /usr/local/src
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# wget https://repo.mysql.com/mysql80-community-release-el7-4.noarch.rpm
--2022-01-17 10:43:43--  https://repo.mysql.com/mysql80-community-release-el7-4.noarch.rpm
Resolving repo.mysql.com (repo.mysql.com)... 23.13.185.161
Connecting to repo.mysql.com (repo.mysql.com)|23.13.185.161|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7076 (6.9K) [application/x-redhat-package-manager]
Saving to: ‘mysql80-community-release-el7-4.noarch.rpm’

100%[==============================================================================>] 7,076       --.-K/s   in 0s

2022-01-17 10:43:43 (493 MB/s) - ‘mysql80-community-release-el7-4.noarch.rpm’ saved [7076/7076]

[root@BaiYang-PC src]# ls -l /etc/yum.repos.d/
total 108
-rw-r--r-- 1 root root 2523 Sep  1 22:03 CentOS-Base.repo
-rw-r--r-- 1 root root 1664 Apr  8  2020 CentOS-Base.repo.backup
-rw-r--r-- 1 root root 1309 Apr  8  2020 CentOS-CR.repo
-rw-r--r-- 1 root root  649 Apr  8  2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  314 Apr  8  2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Apr  8  2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Apr  8  2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 7577 Apr  8  2020 CentOS-Vault.repo
-rw-r--r-- 1 root root  616 Apr  8  2020 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root  951 Oct  3  2017 epel.repo
-rw-r--r-- 1 root root 1050 Oct  3  2017 epel-testing.repo
-rw-r--r-- 1 root root  398 Sep  1 22:11 nginx.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi91.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi92.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi93.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi94.repo
-rw-r--r-- 1 root root  855 Jan  5  2021 remi-modular.repo
-rw-r--r-- 1 root root  456 Jan  5  2021 remi-php54.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php70.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php71.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php72.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php73.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php74.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php80.repo
-rw-r--r-- 1 root root 2605 Jan  5  2021 remi.repo
-rw-r--r-- 1 root root  750 Jan  5  2021 remi-safe.repo
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum localinstall mysql80-community-release-el7-4.noarch.rpm
Loaded plugins: fastestmirror, ovl
Examining mysql80-community-release-el7-4.noarch.rpm: mysql80-community-release-el7-4.noarch
Marking mysql80-community-release-el7-4.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql80-community-release.noarch 0:el7-4 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================
Package                      Arch     Version  Repository                               Size
============================================================================================
Installing:
 mysql80-community-release   noarch   el7-4  /mysql80-community-release-el7-4.noarch   5.2 k

Transaction Summary
=============================================================================================
Install  1 Package

Total size: 5.2 k
Installed size: 5.2 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mysql80-community-release-el7-4.noarch                            1/1
  Verifying  : mysql80-community-release-el7-4.noarch                            1/1

Installed:
  mysql80-community-release.noarch 0:el7-4

Complete!
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls -l /etc/yum.repos.d/
total 116
-rw-r--r-- 1 root root 2523 Sep  1 22:03 CentOS-Base.repo
-rw-r--r-- 1 root root 1664 Apr  8  2020 CentOS-Base.repo.backup
-rw-r--r-- 1 root root 1309 Apr  8  2020 CentOS-CR.repo
-rw-r--r-- 1 root root  649 Apr  8  2020 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root  314 Apr  8  2020 CentOS-fasttrack.repo
-rw-r--r-- 1 root root  630 Apr  8  2020 CentOS-Media.repo
-rw-r--r-- 1 root root 1331 Apr  8  2020 CentOS-Sources.repo
-rw-r--r-- 1 root root 7577 Apr  8  2020 CentOS-Vault.repo
-rw-r--r-- 1 root root  616 Apr  8  2020 CentOS-x86_64-kernel.repo
-rw-r--r-- 1 root root  951 Oct  3  2017 epel.repo
-rw-r--r-- 1 root root 1050 Oct  3  2017 epel-testing.repo
-rw-r--r-- 1 root root 1630 Oct 31 18:45 mysql-community.repo
-rw-r--r-- 1 root root 1700 Oct 31 18:45 mysql-community-source.repo
-rw-r--r-- 1 root root  398 Sep  1 22:11 nginx.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi91.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi92.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi93.repo
-rw-r--r-- 1 root root  446 Jan  5  2021 remi-glpi94.repo
-rw-r--r-- 1 root root  855 Jan  5  2021 remi-modular.repo
-rw-r--r-- 1 root root  456 Jan  5  2021 remi-php54.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php70.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php71.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php72.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php73.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php74.repo
-rw-r--r-- 1 root root 1314 Jan  5  2021 remi-php80.repo
-rw-r--r-- 1 root root 2605 Jan  5  2021 remi.repo
-rw-r--r-- 1 root root  750 Jan  5  2021 remi-safe.repo
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum repolist enabled | grep "mysql.*-community.*"
mysql-connectors-community/x86_64 MySQL Connectors Community                 221
mysql-tools-community/x86_64      MySQL Tools Community                      135
mysql80-community/x86_64          MySQL 8.0 Community Server                 301
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum install -y mysql-community-server
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: hkg.mirror.rackspace.com
 * extras: mirrors.aliyun.com
 * remi-safe: remirepo.reloumirrors.net
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:8.0.27-1.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 8.0.27-1.el7 for package: mysql-community-server-8.0.27-1.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.27-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:8.0.27-1.el7 will be installed
--> Processing Dependency: mysql-community-client-plugins = 8.0.27-1.el7 for package: mysql-community-client-8.0.27-1.el7.x86_64
--> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.27-1.el7.x86_64
---> Package mysql-community-common.x86_64 0:8.0.27-1.el7 will be installed
--> Running transaction check
---> Package mysql-community-client-plugins.x86_64 0:8.0.27-1.el7 will be installed
---> Package mysql-community-libs.x86_64 0:8.0.27-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================
 Package                             Arch      Version         Repository         Size
========================================================================================
Installing:
 mysql-community-server              x86_64    8.0.27-1.el7    mysql80-community  448 M
Installing for dependencies:
 mysql-community-client              x86_64     8.0.27-1.el7   mysql80-community  53 M
 mysql-community-client-plugins      x86_64     8.0.27-1.el7   mysql80-community  5.7 M
 mysql-community-common              x86_64     8.0.27-1.el7   mysql80-community  627 k
 mysql-community-libs                x86_64     8.0.27-1.el7   mysql80-community  4.7 M

Transaction Summary
=========================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 512 M
Installed size: 2.4 G
Downloading packages:
(1/5): mysql-community-client-plugins-8.0.27-1.el7.x86_64.rpm        | 5.7 MB  00:00:16
(2/5): mysql-community-common-8.0.27-1.el7.x86_64.rpm                | 627 kB  00:00:02
(3/5): mysql-community-libs-8.0.27-1.el7.x86_64.rpm                  | 4.7 MB  00:00:14
(4/5): mysql-community-client-8.0.27-1.el7.x86_64.rpm                |  53 MB  00:01:49
(5/5): mysql-community-server-8.0.27-1.el7.x86_64.rpm                | 448 MB  00:07:20
----------------------------------------------------------------------------------------
Total                                                                1.1 MB/s | 512 MB  00:07:53
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mysql-community-client-plugins-8.0.27-1.el7.x86_64        1/5
  Installing : mysql-community-common-8.0.27-1.el7.x86_64                2/5
  Installing : mysql-community-libs-8.0.27-1.el7.x86_64                  3/5
  Installing : mysql-community-client-8.0.27-1.el7.x86_64                4/5
  Installing : mysql-community-server-8.0.27-1.el7.x86_64                5/5
  Verifying  : mysql-community-common-8.0.27-1.el7.x86_64                1/5
  Verifying  : mysql-community-client-plugins-8.0.27-1.el7.x86_64        2/5
  Verifying  : mysql-community-client-8.0.27-1.el7.x86_64                3/5
  Verifying  : mysql-community-server-8.0.27-1.el7.x86_64                4/5
  Verifying  : mysql-community-libs-8.0.27-1.el7.x86_64                  5/5

Installed:
  mysql-community-server.x86_64 0:8.0.27-1.el7

Dependency Installed:
  mysql-community-client.x86_64 0:8.0.27-1.el7    mysql-community-client-plugins.x86_64 0:8.0.27-1.el7
  mysql-community-common.x86_64 0:8.0.27-1.el7    mysql-community-libs.x86_64 0:8.0.27-1.el7

Complete!
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls -l /usr/lib/systemd/system/ | grep mysql
-rw-r--r-- 1 root root 2034 Sep 28 22:07 mysqld.service
-rw-r--r-- 1 root root 2065 Sep 28 22:07 mysqld@.service
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# cat /usr/lib/systemd/system/mysqld.service
# Copyright (c) 2015, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,
# as published by the Free Software Foundation.
#
# This program is also distributed with certain software (including
# but not limited to OpenSSL) that is licensed under separate terms,
# as designated in a particular file or component or in included license
# documentation.  The authors of MySQL hereby grant you an additional
# permission to link the program and your derivative works with the
# separately licensed software that they have included with MySQL.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License, version 2.0, for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
#
# systemd service file for MySQL forking server
#

[Unit]
Description=MySQL Server
Documentation=man:mysqld(8)
Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html
After=network.target
After=syslog.target

[Install]
WantedBy=multi-user.target

[Service]
User=mysql
Group=mysql

Type=notify

# Disable service start and stop timeout logic of systemd for mysqld service.
TimeoutSec=0

# Execute pre and post scripts as root
PermissionsStartOnly=true

# Needed to create system tables
ExecStartPre=/usr/bin/mysqld_pre_systemd

# Start main service
ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS

# Use this to switch malloc implementation
EnvironmentFile=-/etc/sysconfig/mysql

# Sets open_files_limit
LimitNOFILE = 10000

Restart=on-failure

RestartPreventExitStatus=1

# Set enviroment variable MYSQLD_PARENT_PID. This is required for restart.
Environment=MYSQLD_PARENT_PID=1

PrivateTmp=false
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# cat /usr/lib/systemd/system/mysqld@.service
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2.0,
# as published by the Free Software Foundation.
#
# This program is also distributed with certain software (including
# but not limited to OpenSSL) that is licensed under separate terms,
# as designated in a particular file or component or in included license
# documentation.  The authors of MySQL hereby grant you an additional
# permission to link the program and your derivative works with the
# separately licensed software that they have included with MySQL.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License, version 2.0, for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
#
# systemd service file for MySQL forking server
#

[Unit]
Description=MySQL Server
Documentation=man:mysqld(8)
Documentation=http://dev.mysql.com/doc/refman/en/using-systemd.html
After=network.target
After=syslog.target

[Install]
WantedBy=multi-user.target

[Service]
User=mysql
Group=mysql

Type=notify

# Disable service start and stop timeout logic of systemd for mysqld service.
TimeoutSec=0

# Execute pre and post scripts as root
PermissionsStartOnly=true

# Needed to create system tables
ExecStartPre=/usr/bin/mysqld_pre_systemd %I

# Start main service
ExecStart=/usr/sbin/mysqld --defaults-group-suffix=@%I $MYSQLD_OPTS

# Use this to switch malloc implementation
EnvironmentFile=-/etc/sysconfig/mysql

# Sets open_files_limit
LimitNOFILE = 10000

Restart=on-failure

RestartPreventExitStatus=1

# Set enviroment variable MYSQLD_PARENT_PID. This is required for restart.
Environment=MYSQLD_PARENT_PID=1

PrivateTmp=false
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# systemctl start mysqld
Failed to get D-Bus connection: Operation not permitted
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mysqld
2022-01-17T03:04:19.305179Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 165
2022-01-17T03:04:19.307133Z 0 [ERROR] [MY-010123] [Server] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
2022-01-17T03:04:19.307234Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-01-17T03:04:19.307478Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.27)  MySQL Community Server - GPL.
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# cat /etc/my.cnf
# For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html

[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove the leading "# " to disable binary logging
# Binary logging captures changes between backups and is enabled by
# default. It's default setting is log_bin=binlog
# disable_log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
#
# Remove leading # to revert to previous value for default_authentication_plugin,
# this will increase compatibility with older clients. For background, see:
# https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
# default-authentication-plugin=mysql_native_password

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mysqld --user=root
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    900   528 ?        Sl   08:45   0:00 /init
root        11  0.0  0.0    900    84 ?        Ss   08:45   0:00 /init
root        12  0.0  0.0    908    84 ?        R    08:45   0:00 /init
root        13  0.0  0.0  13572  3480 pts/0    Ss   08:45   0:00 -bash
root        34  0.0  0.0  46656  1116 ?        Ss   08:46   0:00 nginx: master process nginx
nginx       35  0.0  0.0  47116  4348 ?        S    08:46   0:00 nginx: worker process
nginx       36  0.0  0.0  47116  4344 ?        S    08:46   0:00 nginx: worker process
nginx       37  0.0  0.0  47116  4348 ?        S    08:46   0:00 nginx: worker process
nginx       38  0.0  0.0  47116  4348 ?        S    08:46   0:00 nginx: worker process
root        44  0.0  0.0 413216 15740 ?        Ss   08:46   0:00 php-fpm: master process (/etc/php-fpm.conf)
apache      45  0.0  0.1 413348 25616 ?        S    08:46   0:00 php-fpm: pool www
apache      46  0.0  0.1 413348 25304 ?        S    08:46   0:00 php-fpm: pool www
apache      47  0.0  0.1 413348 29780 ?        S    08:46   0:00 php-fpm: pool www
apache      48  0.0  0.1 413348 26624 ?        S    08:46   0:00 php-fpm: pool www
apache      49  0.0  0.1 413348 25440 ?        S    08:46   0:00 php-fpm: pool www
apache      53  0.0  0.1 413348 24976 ?        S    08:46   0:00 php-fpm: pool www
apache      54  0.0  0.0 413216 13924 ?        S    09:16   0:00 php-fpm: pool www
root       171  0.0  0.0  53368  3856 pts/0    R+   11:17   0:00 ps aux
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# cat /var/run/mysqld/mysqld.pid
cat: /var/run/mysqld/mysqld.pid: No such file or directory
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# cat /var/log/mysqld.log
2022-01-17T03:17:39.493826Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 169
2022-01-17T03:17:39.595167Z 1 [ERROR] [MY-011011] [Server] Failed to find valid data directory.
2022-01-17T03:17:39.595571Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-01-17T03:17:39.595691Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-01-17T03:17:39.597747Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.27)  MySQL Community Server - GPL.
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls /var/lib/mysql
auto.cnf  binlog.index  data  ibdata1  ib_logfile0  ib_logfile1
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rm -rf /var/lib/mysql
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mysqld --initialize --console
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls -l /var/lib/mysql
total 176576
-rw-r----- 1 mysql mysql       56 Jan 17 12:53 auto.cnf
-rw------- 1 mysql mysql     1680 Jan 17 12:53 ca-key.pem
-rw-r--r-- 1 mysql mysql     1112 Jan 17 12:53 ca.pem
-rw-r--r-- 1 mysql mysql     1112 Jan 17 12:53 client-cert.pem
-rw------- 1 mysql mysql     1676 Jan 17 12:53 client-key.pem
-rw-r----- 1 mysql mysql   196608 Jan 17 12:53 #ib_16384_0.dblwr
-rw-r----- 1 mysql mysql  8585216 Jan 17 12:53 #ib_16384_1.dblwr
-rw-r----- 1 mysql mysql     5500 Jan 17 12:53 ib_buffer_pool
-rw-r----- 1 mysql mysql 12582912 Jan 17 12:53 ibdata1
-rw-r----- 1 mysql mysql 50331648 Jan 17 12:53 ib_logfile0
-rw-r----- 1 mysql mysql 50331648 Jan 17 12:53 ib_logfile1
drwxr-x--- 2 mysql mysql     4096 Jan 17 12:53 #innodb_temp
drwxr-x--- 2 mysql mysql     4096 Jan 17 12:53 mysql
-rw-r----- 1 mysql mysql 25165824 Jan 17 12:53 mysql.ibd
drwxr-x--- 2 mysql mysql     4096 Jan 17 12:53 performance_schema
-rw------- 1 mysql mysql     1676 Jan 17 12:53 private_key.pem
-rw-r--r-- 1 mysql mysql      452 Jan 17 12:53 public_key.pem
-rw-r--r-- 1 mysql mysql     1112 Jan 17 12:53 server-cert.pem
-rw------- 1 mysql mysql     1680 Jan 17 12:53 server-key.pem
drwxr-x--- 2 mysql mysql     4096 Jan 17 12:53 sys
-rw-r----- 1 mysql mysql 16777216 Jan 17 12:53 undo_001
-rw-r----- 1 mysql mysql 16777216 Jan 17 12:53 undo_002
[root@BaiYang-PC src]#

启动详细过程:

[root@BaiYang-PC zhuyi]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    900   528 ?        Sl   Jan17   0:00 /init
root        12  0.0  0.0    908    84 ?        S    Jan17   0:01 /init
root        34  0.0  0.0  46656  1116 ?        Ss   Jan17   0:00 nginx: master process nginx
nginx       35  0.0  0.0  47116  4348 ?        S    Jan17   0:00 nginx: worker process
nginx       36  0.0  0.0  47116  4344 ?        S    Jan17   0:00 nginx: worker process
nginx       37  0.0  0.0  47116  4348 ?        S    Jan17   0:00 nginx: worker process
nginx       38  0.0  0.0  47116  4348 ?        S    Jan17   0:00 nginx: worker process
root        44  0.0  0.0 413216 15740 ?        Ss   Jan17   0:02 php-fpm: master process (/etc/php-fpm.conf)
apache      45  0.0  0.1 413348 25616 ?        S    Jan17   0:00 php-fpm: pool www
apache      46  0.0  0.1 413348 25304 ?        S    Jan17   0:00 php-fpm: pool www
apache      47  0.0  0.1 413348 29780 ?        S    Jan17   0:00 php-fpm: pool www
apache      48  0.0  0.1 413348 26624 ?        S    Jan17   0:00 php-fpm: pool www
apache      49  0.0  0.1 413348 25440 ?        S    Jan17   0:00 php-fpm: pool www
apache      53  0.0  0.1 413348 24976 ?        S    Jan17   0:00 php-fpm: pool www
apache      54  0.0  0.0 413216 13924 ?        S    Jan17   0:00 php-fpm: pool www
root       325  0.0  0.0    900    84 ?        Ss   08:15   0:00 /init
root       326  0.0  0.0    908    84 ?        S    08:15   0:00 /init
root       327  0.0  0.0  13572  3492 pts/1    Ss   08:15   0:00 -bash
root       359  0.0  0.0  53368  3860 pts/1    R+   13:47   0:00 ps aux
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# nohup mysqld 1>/dev/null 2>&1 &
[1] 360
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0    900   528 ?        Sl   Jan17   0:00 /init
root        12  0.0  0.0    908    84 ?        S    Jan17   0:01 /init
root        34  0.0  0.0  46656  1116 ?        Ss   Jan17   0:00 nginx: master process nginx
nginx       35  0.0  0.0  47116  4348 ?        S    Jan17   0:00 nginx: worker process
nginx       36  0.0  0.0  47116  4344 ?        S    Jan17   0:00 nginx: worker process
nginx       37  0.0  0.0  47116  4348 ?        S    Jan17   0:00 nginx: worker process
nginx       38  0.0  0.0  47116  4348 ?        S    Jan17   0:00 nginx: worker process
root        44  0.0  0.0 413216 15740 ?        Ss   Jan17   0:02 php-fpm: master process (/etc/php-fpm.conf)
apache      45  0.0  0.1 413348 25616 ?        S    Jan17   0:00 php-fpm: pool www
apache      46  0.0  0.1 413348 25304 ?        S    Jan17   0:00 php-fpm: pool www
apache      47  0.0  0.1 413348 29780 ?        S    Jan17   0:00 php-fpm: pool www
apache      48  0.0  0.1 413348 26624 ?        S    Jan17   0:00 php-fpm: pool www
apache      49  0.0  0.1 413348 25440 ?        S    Jan17   0:00 php-fpm: pool www
apache      53  0.0  0.1 413348 24976 ?        S    Jan17   0:00 php-fpm: pool www
apache      54  0.0  0.0 413216 13924 ?        S    Jan17   0:00 php-fpm: pool www
root       325  0.0  0.0    900    84 ?        Ss   08:15   0:00 /init
root       326  0.0  0.0    908    84 ?        R    08:15   0:00 /init
root       327  0.0  0.0  13572  3492 pts/1    Ss   08:15   0:00 -bash
mysql      360 18.6  2.0 1857844 396532 pts/1  Sl   13:47   0:00 mysqld
root       408  0.0  0.0  53368  3776 pts/1    R+   13:47   0:00 ps aux
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# cat /var/log/mysqld.log | grep password
2022-01-17T04:53:44.294206Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 4bdsM)H,XDz=
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 8.0.27

Copyright (c) 2000, 2021, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
mysql> use mysql;
No connection. Trying to reconnect...
Enter password:
Connection id:    15
Current database: *** NONE ***

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql>
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'root';
Query OK, 0 rows affected (0.03 sec)

mysql>
mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql>
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTIFIED BY 'root' WITH GRANT OPTION' at line 1
mysql>
mysql> update user set host='%' where user='root';
Query OK, 1 row affected (0.02 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION;
ERROR 1410 (42000): You are not allowed to create a user with GRANT
mysql>
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'WITH GRANT OPTION;
Query OK, 0 rows affected (0.02 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql>
mysql> show variables like 'default_authentication_plugin';
+-------------------------------+-----------------------+
| Variable_name                 | Value                 |
+-------------------------------+-----------------------+
| default_authentication_plugin | caching_sha2_password |
+-------------------------------+-----------------------+
1 row in set (0.00 sec)

mysql>
mysql> select host,user,plugin from mysql.user;
+-----------+------------------+-----------------------+
| host      | user             | plugin                |
+-----------+------------------+-----------------------+
| %         | root             | caching_sha2_password |
| localhost | mysql.infoschema | caching_sha2_password |
| localhost | mysql.session    | caching_sha2_password |
| localhost | mysql.sys        | caching_sha2_password |
+-----------+------------------+-----------------------+
4 rows in set (0.00 sec)

mysql>
mysql> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
Query OK, 0 rows affected (0.03 sec)

mysql>
mysql>
mysql> exit
Bye
[root@BaiYang-PC zhuyi]#
[root@BaiYang-PC zhuyi]#

mysqld后台启动后,cat /var/log/mysqld.log 查看启动的细节:

2022-01-17T04:53:38.586147Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.27) initializing of server in progress as process 229
2022-01-17T04:53:38.604486Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-01-17T04:53:39.910912Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-01-17T04:53:44.164834Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
2022-01-17T04:53:44.164869Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
2022-01-17T04:53:44.294206Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 4bdsM)H,XDz=
2022-01-17T04:54:56.801209Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 278
2022-01-17T04:54:56.833882Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-01-17T04:54:57.067341Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-01-17T04:54:57.395177Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
2022-01-17T04:54:57.395202Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
2022-01-17T04:54:57.395939Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2022-01-17T04:54:57.395980Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2022-01-17T04:54:57.422648Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2022-01-17T04:54:57.422696Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.27'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server - GPL.
2022-01-18T05:47:55.524499Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.27) starting as process 360
2022-01-18T05:47:55.534558Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-01-18T05:47:55.876254Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-01-18T05:47:56.049910Z 0 [System] [MY-010229] [Server] Starting XA crash recovery...
2022-01-18T05:47:56.056982Z 0 [System] [MY-010232] [Server] XA crash recovery finished.
2022-01-18T05:47:56.112244Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1 is enabled for channel mysql_main
2022-01-18T05:47:56.112271Z 0 [Warning] [MY-013746] [Server] A deprecated TLS version TLSv1.1 is enabled for channel mysql_main
2022-01-18T05:47:56.112986Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2022-01-18T05:47:56.113032Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2022-01-18T05:47:56.138991Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.27'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  MySQL Community Server - GPL.
2022-01-18T05:47:56.139009Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock

Swoole安装

看一下 phpize 脚本位置:

[root@BaiYang-PC src]# whereis php
php: /usr/bin/php /usr/lib64/php /etc/php.d /etc/php.ini /usr/share/php
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls -l /usr/bin | grep php
-rwxr-xr-x   1 root root   6377080 Dec 15 15:47 php
lrwxrwxrwx   1 root root        32 Sep  1 22:36 php74 -> /opt/remi/php74/root/usr/bin/php
lrwxrwxrwx   1 root root        36 Sep  1 22:36 php74-cgi -> /opt/remi/php74/root/usr/bin/php-cgi
lrwxrwxrwx   1 root root        38 Sep  1 22:36 php74-phar -> /opt/remi/php74/root/usr/bin/phar.phar
-rwxr-xr-x   1 root root   6376584 Dec 15 15:47 php-cgi
-rwxr-xr-x   1 root root      4741 Dec 15 15:47 phpize
-rwxr-xr-x   1 root root   6377976 Dec 15 15:47 zts-php
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#

https://github.com/swoole/swoole-src/releases 下载源码。

移动并解压:

[root@BaiYang-PC src]# cd /mnt/g/www
[root@BaiYang-PC www]#
[root@BaiYang-PC www]# mv ./swoole-src-4.8.4.zip /usr/local/src
[root@BaiYang-PC www]#
[root@BaiYang-PC www]# cd /usr/local/src
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls
composer-setup.php                        protobuf-3.11.2          swoole-src-4.8.4.zip
mysql-community-release-el7-5.noarch.rpm  protobuf-all-3.11.2.zip
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# unzip swoole-src-4.8.4.zip
[root@BaiYang-PC src]# ls
composer-setup.php                        protobuf-3.11.2          swoole-src-4.8.4
mysql-community-release-el7-5.noarch.rpm  protobuf-all-3.11.2.zip  swoole-src-4.8.4.zip
[root@BaiYang-PC src]#

编译及安装:

[root@BaiYang-PC src]# cd swoole-src-4.8.4
[root@BaiYang-PC swoole-src-4.8.4]# 
[root@BaiYang-PC swoole-src-4.8.4]# phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# ./configure
[root@BaiYang-PC swoole-src-4.8.4]# make 
[root@BaiYang-PC swoole-src-4.8.4]# make install

启用拓展:

[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File:         /etc/php.ini
Scan for additional .ini files in: /etc/php.d
Additional .ini files parsed:      /etc/php.d/10-opcache.ini,
/etc/php.d/20-bcmath.ini,
/etc/php.d/20-bz2.ini,
/etc/php.d/20-calendar.ini,
/etc/php.d/20-ctype.ini,
/etc/php.d/20-curl.ini,
/etc/php.d/20-dom.ini,
/etc/php.d/20-exif.ini,
/etc/php.d/20-fileinfo.ini,
/etc/php.d/20-ftp.ini,
/etc/php.d/20-gd.ini,
/etc/php.d/20-gettext.ini,
/etc/php.d/20-iconv.ini,
/etc/php.d/20-json.ini,
/etc/php.d/20-mbstring.ini,
/etc/php.d/20-mysqlnd.ini,
/etc/php.d/20-pdo.ini,
/etc/php.d/20-phar.ini,
/etc/php.d/20-simplexml.ini,
/etc/php.d/20-sockets.ini,
/etc/php.d/20-sodium.ini,
/etc/php.d/20-sqlite3.ini,
/etc/php.d/20-tokenizer.ini,
/etc/php.d/20-xml.ini,
/etc/php.d/20-xmlwriter.ini,
/etc/php.d/20-xsl.ini,
/etc/php.d/30-mcrypt.ini,
/etc/php.d/30-mysqli.ini,
/etc/php.d/30-pdo_mysql.ini,
/etc/php.d/30-pdo_sqlite.ini,
/etc/php.d/30-xmlreader.ini,
/etc/php.d/30-zip.ini

[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# touch /etc/php.d/swoole.ini
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# echo 'extension=swoole.so' > /etc/php.d/swoole.ini
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
readline
Reflection
session
SimpleXML
sockets
sodium
SPL
sqlite3
standard
swoole
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
[root@BaiYang-PC swoole-src-4.8.4]#

docker安装

移除老版本:

yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

安装docker:

yum install docker

启动运行:

查看版本:

docker version

修改docker仓库地址:

vi /etc/docker/daemon.json

写入内容,保存并退出:

{"registry-mirrors": ["https://registry.docker-cn.com"], "live-restore": true}

genie安装

WSL2 本身是由 Windows 负责运行的,因此使用tree或ps命令时会看到根进程不是systemd, 这将导致无法启动 Linux 系统服务的守护进程(deamon),如nginx、docker、mysql等。在centOS(Linux)中, 当我们执行systemctl命令的时候,会显示出我们的 init system(PID 1)并非 systemd,而是微软提供的/init。

由于 systemd 必须以 PID 1 的方式执行,所以不能直接执行 systemd , 但是利用 Linux Namespace 让我们可以在 WSL2 中建立一个新的 Namespace 并把 systemd 作为 PID 1 来执行。 也就是在 WSL2 中再多加一层 PID Namespace,使得我们可以在这个新的 Namespace 中运行 systemd 环境。 一个比较好的解决方案是使用arkane-systems/genie项目大概原理是在一个单独的命名空间跑systemd, 从而实现能够正常执行systemctl指令并启动服务。

具体参见:

安装systemd-genie

WSL2 中使用 systemctl 命令

arkane-systems/genie

Centos7.8卸载

卸载前可以备份一下,以后可以直接用 LxRunOffline install -n 自定义系统名称 -d 安装目录路径 -f tar.gz安装包路径 安装:

C:\Users\zhuyi>lxrunoffline e -n centos78 -f G:\wsl2_centos78_backup.tar.gz
[ERROR] The action/argument "export" doesn't support WSL2.


C:\Users\zhuyi>

报错了,版本不支持。

直接用 LxRunOffline 把 Centos7.8 卸载吧:

lxrunoffline uninstall -n centos78

详情:

C:\Users\zhuyi>lxrunoffline uninstall -n  centos78
[ERROR] Couldn't set the case sensitive attribute of the directory "\\?\G:\centos78\temp\{4af19be2-a42d-4070-a1ca-bd905b534fa4}\0000000000000001_tmpfs\".
Reason: {Access Denied}
A process has requested access to an object, but has not been granted those access rights.


C:\Users\zhuyi>lxrunoffline uninstall -n  centos78
[ERROR] Couldn't find the distro "centos78".


C:\Users\zhuyi>

报错了,但到安装的文件夹下看时,已经卸载了。

C:\Users\zhuyi>lxrunoffline di -n  centos78
[ERROR] Couldn't find the distro "centos78".


C:\Users\zhuyi>
C:\Users\zhuyi>lxrunoffline l

C:\Users\zhuyi>wsl -l -v
适用于 Linux 的 Windows 子系统没有已安装的分发版。
可以通过访问 Microsoft Store 来安装分发版:
https://aka.ms/wslstore

C:\Users\zhuyi>

LxRunOffline卸载

Centos7.8卸载后,也可以把LxRunOffline卸载掉:

choco uninstall lxrunoffline

详情:

C:\Users\zhuyi>choco uninstall lxrunoffline
Chocolatey v0.10.15
Chocolatey detected you are not running from an elevated command shell
 (cmd/powershell).

 You may experience errors - many functions/packages
 require admin rights. Only advanced users should run choco w/out an
 elevated shell. When you open the command shell, you should ensure
 that you do so with "Run as Administrator" selected. If you are
 attempting to use Chocolatey in a non-administrator setting, you
 must select a different location other than the default install
 location. See
 https://chocolatey.org/install#non-administrative-install for details.


 Do you want to continue?([Y]es/[N]o): y

Uninstalling the following packages:
lxrunoffline
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 对路径“C:\ProgramData\chocolatey\lib-bkp”的访问被拒绝。
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 对路径“C:\ProgramData\chocolatey\lib-bkp”的访问被拒绝。
Maximum tries of 3 reached. Throwing error.
Cannot create directory "C:\ProgramData\chocolatey\lib-bkp". Error was:
System.UnauthorizedAccessException: 对路径“C:\ProgramData\chocolatey\lib-bkp”的访问被拒绝。
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   在 System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   在 chocolatey.infrastructure.filesystem.DotNetFileSystem.<>c__DisplayClass64.<create_directory>b__63()
   在 chocolatey.infrastructure.tolerance.FaultTolerance.<>c__DisplayClass1.<retry>b__0()
   在 chocolatey.infrastructure.tolerance.FaultTolerance.retry[T](Int32 numberOfTries, Func`1 function, Int32 waitDurationMilliseconds, Int32 increaseRetryByMilliseconds, Boolean isSilent)
   在 chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory(String directoryPath)
   在 chocolatey.infrastructure.filesystem.DotNetFileSystem.create_directory_if_not_exists(String directoryPath, Boolean ignoreError)
lxrunoffline not uninstalled. An error occurred during uninstall:
 对路径“C:\ProgramData\chocolatey\lib-bkp”的访问被拒绝。

Chocolatey uninstalled 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - lxrunoffline (exited 1) - lxrunoffline not uninstalled. An error occurred during uninstall:
 对路径“C:\ProgramData\chocolatey\lib-bkp”的访问被拒绝。

If a package uninstall is failing and/or you've already uninstalled the
 software outside of Chocolatey, you can attempt to run the command
 with `-n` to skip running a chocolateyUninstall script, additionally
 adding `--skip-autouninstaller` to skip an attempt to automatically
 remove system-installed software. This will only remove the packaging
 files and not things like software installed to Programs and Features.

If a package is failing because it is a dependency of another package
 or packages, then you may first need to consider if it needs removed
 as it is typically installed as a dependency for a reason. If you
 decide that you still want to remove it, head into
 `$env:ChocolateyInstall\lib` and find the package folder you want
 removed. Then delete the folder for the package. This option should
 only be used as a last resort.


C:\Users\zhuyi>

报错了,没有权限,要用超级管理员权限在命令行中运行。

在软件列表中找到 Windows PowerShell,右击鼠标,选择 以管理员身份运行,然后执行卸载明令:

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS C:\Windows\system32> lxrunoffline version
LxRunOffline v3.5.0
PS C:\Windows\system32>
PS C:\Windows\system32> choco uninstall lxrunoffline
Chocolatey v0.10.15
Uninstalling the following packages:
lxrunoffline

lxrunoffline v3.5.0
The package lxrunoffline wants to run 'chocolateyUninstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

Cannot remove item C:\tools\lxrunoffline\LxRunOfflineShellExt.dll: Access to the path 'LxRunOfflineShellExt.dll' is denied.
Directory C:\tools\lxrunoffline cannot be removed because it is not empty.
Only an exit code of non-zero will fail the package by default. Set
 `--failonstderr` if you want error messages to also fail a script. See
 `choco -h` for details.
 Skipping auto uninstaller - No registry snapshot.
 lxrunoffline has been successfully uninstalled.

Chocolatey uninstalled 1/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
PS C:\Windows\system32>
PS C:\Windows\system32> lxrunoffline version
lxrunoffline : 无法将“lxrunoffline”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径
,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ lxrunoffline version
+ ~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (lxrunoffline:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32>

关闭WSL

在 控制面板 -> 所有控制面板项 -> 程序和功能 中点击 启用或者关闭Windows功能

找到 适用于Linux的Windows子系统 取消勾选,然后 确定,重启完成WSL关闭。

附录

Swoole编译详情

[root@BaiYang-PC src]# cd swoole-src-4.8.4
[root@BaiYang-PC swoole-src-4.8.4]# ls -l
total 484
-rwxr-xr-x  1 root root    407 Dec 16 17:28 clear.sh
-rw-r--r--  1 root root   5721 Dec 16 17:28 CMakeLists.txt
-rw-r--r--  1 root root     31 Dec 16 17:28 codecov.yml
-rwxr-xr-x  1 root root   1102 Dec 16 17:28 code_format.sh
-rwxr-xr-x  1 root root     81 Dec 16 17:28 code_stats.sh
-rw-r--r--  1 root root    113 Dec 16 17:28 CODE-STYLE.md
-rw-r--r--  1 root root  30081 Dec 16 17:28 config.m4
-rw-r--r--  1 root root    152 Dec 16 17:28 CPPLINT.cfg
drwxr-xr-x 32 root root   4096 Dec 16 17:28 examples
drwxr-xr-x  2 root root   4096 Dec 16 17:28 ext-src
-rw-r--r--  1 root root   7399 Dec 16 17:28 gdbinit
-rw-r--r--  1 root root  17613 Dec 16 17:28 google-style.xml
drwxr-xr-x  3 root root   4096 Dec 16 17:28 include
-rw-r--r--  1 root root  11362 Dec 16 17:28 LICENSE
-rw-r--r--  1 root root    618 Dec 16 17:28 Makefile.frag
-rwxr-xr-x  1 root root   1715 Dec 16 17:28 make.sh
-rw-r--r--  1 root root 104368 Dec 16 17:28 mascot.png
-rw-r--r--  1 root root 173941 Dec 16 17:28 package.xml
-rw-r--r--  1 root root   2112 Dec 16 17:28 php_swoole.h
-rw-r--r--  1 root root  19502 Dec 16 17:28 README-CN.md
-rw-r--r--  1 root root  20677 Dec 16 17:28 README.md
drwxr-xr-x 12 root root   4096 Dec 16 17:28 src
drwxr-xr-x  2 root root   4096 Dec 16 17:28 stubs
-rw-r--r--  1 root root   1397 Dec 16 17:28 SUPPORTED.md
-rw-r--r--  1 root root   7476 Dec 16 17:28 swoole-logo.svg
drwxr-xr-x 38 root root   4096 Dec 16 17:28 tests
drwxr-xr-x  7 root root   4096 Dec 16 17:28 thirdparty
drwxr-xr-x  3 root root   4096 Dec 16 17:28 tools
drwxr-xr-x  3 root root   4096 Dec 16 17:28 travis
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# ls -l
total 1284
drwxr-xr-x  2 root root   4096 Dec 24 14:09 autom4te.cache
drwxr-xr-x  2 root root   4096 Dec 24 14:09 build
-rwxr-xr-x  1 root root    407 Dec 16 17:28 clear.sh
-rw-r--r--  1 root root   5721 Dec 16 17:28 CMakeLists.txt
-rw-r--r--  1 root root     31 Dec 16 17:28 codecov.yml
-rwxr-xr-x  1 root root   1102 Dec 16 17:28 code_format.sh
-rwxr-xr-x  1 root root     81 Dec 16 17:28 code_stats.sh
-rw-r--r--  1 root root    113 Dec 16 17:28 CODE-STYLE.md
-rw-r--r--  1 root root   5036 Dec 24 14:09 config.h.in
-rw-r--r--  1 root root  30081 Dec 16 17:28 config.m4
-rwxr-xr-x  1 root root 659536 Dec 24 14:09 configure
-rw-r--r--  1 root root   5082 Dec 24 14:09 configure.ac
-rw-r--r--  1 root root    152 Dec 16 17:28 CPPLINT.cfg
drwxr-xr-x 32 root root   4096 Dec 16 17:28 examples
drwxr-xr-x  2 root root   4096 Dec 16 17:28 ext-src
-rw-r--r--  1 root root   7399 Dec 16 17:28 gdbinit
-rw-r--r--  1 root root  17613 Dec 16 17:28 google-style.xml
drwxr-xr-x  3 root root   4096 Dec 16 17:28 include
-rw-r--r--  1 root root  11362 Dec 16 17:28 LICENSE
-rw-r--r--  1 root root    618 Dec 16 17:28 Makefile.frag
-rwxr-xr-x  1 root root   1715 Dec 16 17:28 make.sh
-rw-r--r--  1 root root 104368 Dec 16 17:28 mascot.png
-rw-r--r--  1 root root 173941 Dec 16 17:28 package.xml
-rw-r--r--  1 root root   2112 Dec 16 17:28 php_swoole.h
-rw-r--r--  1 root root  19502 Dec 16 17:28 README-CN.md
-rw-r--r--  1 root root  20677 Dec 16 17:28 README.md
-rw-r--r--  1 root root 127055 Dec 24 14:09 run-tests.php
drwxr-xr-x 12 root root   4096 Dec 16 17:28 src
drwxr-xr-x  2 root root   4096 Dec 16 17:28 stubs
-rw-r--r--  1 root root   1397 Dec 16 17:28 SUPPORTED.md
-rw-r--r--  1 root root   7476 Dec 16 17:28 swoole-logo.svg
drwxr-xr-x 38 root root   4096 Dec 16 17:28 tests
drwxr-xr-x  7 root root   4096 Dec 16 17:28 thirdparty
drwxr-xr-x  3 root root   4096 Dec 16 17:28 tools
drwxr-xr-x  3 root root   4096 Dec 16 17:28 travis
[root@BaiYang-PC swoole-src-4.8.4]#

[root@BaiYang-PC swoole-src-4.8.4]# ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking enable debug log... no
checking enable trace log... no
checking enable sockets support... no
checking enable openssl support... no
checking enable http2.0 support... no
checking swoole support... yes, shared
checking enable mysqlnd support... no
checking enable c-ares support... no
checking dir of openssl... no
checking dir of jemalloc... no
checking enable asan... no
checking whether to enable swoole coverage support... no
checking whether to enable Swoole developer build flags... no
checking whether to enable Swoole JSON build flags... no
checking whether to enable Swoole CURL build flags... no
checking whether to enable thread context... no
checking if compiling with clang... no
checking for cc option to accept ISO C99... -std=gnu99
checking for accept4 in -lc... yes
checking for signalfd in -lc... yes
checking for eventfd in -lc... yes
checking for epoll_create in -lc... yes
checking for poll in -lc... yes
checking for sendfile in -lc... yes
checking for kqueue in -lc... no
checking for backtrace in -lc... yes
checking for daemon in -lc... yes
checking for mkostemp in -lc... yes
checking for inotify_init in -lc... yes
checking for malloc_trim in -lc... yes
checking for inotify_init1 in -lc... yes
checking for ptrace in -lc... yes
checking for getrandom in -lc... no
checking for arc4random in -lc... no
checking for pthread_rwlock_init in -lpthread... yes
checking for pthread_spin_lock in -lpthread... yes
checking for pthread_mutex_timedlock in -lpthread... yes
checking for pthread_barrier_init in -lpthread... yes
checking for pthread_mutexattr_setpshared in -lpthread... yes
checking for pthread_mutexattr_setrobust in -lpthread... yes
checking for pthread_mutex_consistent in -lpthread... yes
checking for pcre_compile in -lpcre... yes
checking for ares_gethostbyname in -lcares... no
checking for gzgets in -lz... yes
checking for BrotliEncoderCreateInstance in -lbrotlienc... no
checking for cpu affinity... yes
checking for socket REUSEPORT... yes
checking for futex... yes
checking for ucontext... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for valgrind... no
checking how to run the C++ preprocessor... g++ -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for struct cmsghdr... yes
checking for hstrerror... yes
checking for socketpair... yes
checking for if_nametoindex... yes
checking for if_indextoname... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for field ss_family in struct sockaddr_storage... yes
checking if getaddrinfo supports AI_V4MAPPED... yes
checking if getaddrinfo supports AI_ALL... yes
checking if getaddrinfo supports AI_IDN... yes
checking if gethostbyname2_r is supported... yes
checking for valgrind... no
checking for clock_gettime in -lrt... yes
checking swoole coverage... disabled
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc -std=gnu99 object... ok
checking for sysroot... no
./configure: line 12086: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if cc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if cc -std=gnu99 static flag -static works... no
checking if cc -std=gnu99 supports -c -o file.o... yes
checking if cc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# make
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/php_swoole.cc -o ext-src/php_swoole.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/php_swoole.cc  -fPIC -DPIC -o ext-src/.libs/php_swoole.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/php_swoole_cxx.cc -o ext-src/php_swoole_cxx.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/php_swoole_cxx.cc  -fPIC -DPIC -o ext-src/.libs/php_swoole_cxx.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_admin_server.cc -o ext-src/swoole_admin_server.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_admin_server.cc  -fPIC -DPIC -o ext-src/.libs/swoole_admin_server.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_async_coro.cc -o ext-src/swoole_async_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_async_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_async_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_atomic.cc -o ext-src/swoole_atomic.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_atomic.cc  -fPIC -DPIC -o ext-src/.libs/swoole_atomic.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_channel_coro.cc -o ext-src/swoole_channel_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_channel_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_channel_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_client.cc -o ext-src/swoole_client.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_client.cc  -fPIC -DPIC -o ext-src/.libs/swoole_client.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_client_coro.cc -o ext-src/swoole_client_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_client_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_client_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_coroutine.cc -o ext-src/swoole_coroutine.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_coroutine.cc  -fPIC -DPIC -o ext-src/.libs/swoole_coroutine.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_coroutine_scheduler.cc -o ext-src/swoole_coroutine_scheduler.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_coroutine_scheduler.cc  -fPIC -DPIC -o ext-src/.libs/swoole_coroutine_scheduler.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_coroutine_system.cc -o ext-src/swoole_coroutine_system.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_coroutine_system.cc  -fPIC -DPIC -o ext-src/.libs/swoole_coroutine_system.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_curl.cc -o ext-src/swoole_curl.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_curl.cc  -fPIC -DPIC -o ext-src/.libs/swoole_curl.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_event.cc -o ext-src/swoole_event.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_event.cc  -fPIC -DPIC -o ext-src/.libs/swoole_event.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http2_client_coro.cc -o ext-src/swoole_http2_client_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http2_client_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http2_client_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http2_server.cc -o ext-src/swoole_http2_server.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http2_server.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http2_server.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_client_coro.cc -o ext-src/swoole_http_client_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_client_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http_client_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_request.cc -o ext-src/swoole_http_request.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_request.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http_request.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_response.cc -o ext-src/swoole_http_response.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_response.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http_response.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_server.cc -o ext-src/swoole_http_server.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_server.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http_server.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_server_coro.cc -o ext-src/swoole_http_server_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_http_server_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_http_server_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_lock.cc -o ext-src/swoole_lock.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_lock.cc  -fPIC -DPIC -o ext-src/.libs/swoole_lock.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_mysql_coro.cc -o ext-src/swoole_mysql_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_mysql_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_mysql_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_mysql_proto.cc -o ext-src/swoole_mysql_proto.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_mysql_proto.cc  -fPIC -DPIC -o ext-src/.libs/swoole_mysql_proto.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_process.cc -o ext-src/swoole_process.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_process.cc  -fPIC -DPIC -o ext-src/.libs/swoole_process.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_process_pool.cc -o ext-src/swoole_process_pool.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_process_pool.cc  -fPIC -DPIC -o ext-src/.libs/swoole_process_pool.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_redis_coro.cc -o ext-src/swoole_redis_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_redis_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_redis_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_redis_server.cc -o ext-src/swoole_redis_server.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_redis_server.cc  -fPIC -DPIC -o ext-src/.libs/swoole_redis_server.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_runtime.cc -o ext-src/swoole_runtime.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_runtime.cc  -fPIC -DPIC -o ext-src/.libs/swoole_runtime.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_server.cc -o ext-src/swoole_server.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_server.cc  -fPIC -DPIC -o ext-src/.libs/swoole_server.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_server_port.cc -o ext-src/swoole_server_port.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_server_port.cc  -fPIC -DPIC -o ext-src/.libs/swoole_server_port.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_socket_coro.cc -o ext-src/swoole_socket_coro.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_socket_coro.cc  -fPIC -DPIC -o ext-src/.libs/swoole_socket_coro.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_table.cc -o ext-src/swoole_table.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_table.cc  -fPIC -DPIC -o ext-src/.libs/swoole_table.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_timer.cc -o ext-src/swoole_timer.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_timer.cc  -fPIC -DPIC -o ext-src/.libs/swoole_timer.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_websocket_server.cc -o ext-src/swoole_websocket_server.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/ext-src/swoole_websocket_server.cc  -fPIC -DPIC -o ext-src/.libs/swoole_websocket_server.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/base.cc -o src/core/base.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/base.cc  -fPIC -DPIC -o src/core/.libs/base.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/channel.cc -o src/core/channel.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/channel.cc  -fPIC -DPIC -o src/core/.libs/channel.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/crc32.cc -o src/core/crc32.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/crc32.cc  -fPIC -DPIC -o src/core/.libs/crc32.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/error.cc -o src/core/error.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/error.cc  -fPIC -DPIC -o src/core/.libs/error.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/heap.cc -o src/core/heap.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/heap.cc  -fPIC -DPIC -o src/core/.libs/heap.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/log.cc -o src/core/log.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/log.cc  -fPIC -DPIC -o src/core/.libs/log.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/string.cc -o src/core/string.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/string.cc  -fPIC -DPIC -o src/core/.libs/string.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/core/timer.cc -o src/core/timer.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/core/timer.cc  -fPIC -DPIC -o src/core/.libs/timer.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/base.cc -o src/coroutine/base.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/base.cc  -fPIC -DPIC -o src/coroutine/.libs/base.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/channel.cc -o src/coroutine/channel.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/channel.cc  -fPIC -DPIC -o src/coroutine/.libs/channel.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/context.cc -o src/coroutine/context.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/context.cc  -fPIC -DPIC -o src/coroutine/.libs/context.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/file_lock.cc -o src/coroutine/file_lock.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/file_lock.cc  -fPIC -DPIC -o src/coroutine/.libs/file_lock.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/hook.cc -o src/coroutine/hook.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/hook.cc  -fPIC -DPIC -o src/coroutine/.libs/hook.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/socket.cc -o src/coroutine/socket.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/socket.cc  -fPIC -DPIC -o src/coroutine/.libs/socket.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/system.cc -o src/coroutine/system.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/system.cc  -fPIC -DPIC -o src/coroutine/.libs/system.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/coroutine/thread_context.cc -o src/coroutine/thread_context.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/coroutine/thread_context.cc  -fPIC -DPIC -o src/coroutine/.libs/thread_context.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/lock/mutex.cc -o src/lock/mutex.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/lock/mutex.cc  -fPIC -DPIC -o src/lock/.libs/mutex.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/lock/rw_lock.cc -o src/lock/rw_lock.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/lock/rw_lock.cc  -fPIC -DPIC -o src/lock/.libs/rw_lock.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/lock/spin_lock.cc -o src/lock/spin_lock.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/lock/spin_lock.cc  -fPIC -DPIC -o src/lock/.libs/spin_lock.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/memory/buffer.cc -o src/memory/buffer.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/memory/buffer.cc  -fPIC -DPIC -o src/memory/.libs/buffer.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/memory/fixed_pool.cc -o src/memory/fixed_pool.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/memory/fixed_pool.cc  -fPIC -DPIC -o src/memory/.libs/fixed_pool.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/memory/global_memory.cc -o src/memory/global_memory.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/memory/global_memory.cc  -fPIC -DPIC -o src/memory/.libs/global_memory.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/memory/ring_buffer.cc -o src/memory/ring_buffer.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/memory/ring_buffer.cc  -fPIC -DPIC -o src/memory/.libs/ring_buffer.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/memory/shared_memory.cc -o src/memory/shared_memory.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/memory/shared_memory.cc  -fPIC -DPIC -o src/memory/.libs/shared_memory.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/memory/table.cc -o src/memory/table.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/memory/table.cc  -fPIC -DPIC -o src/memory/.libs/table.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/network/address.cc -o src/network/address.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/network/address.cc  -fPIC -DPIC -o src/network/.libs/address.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/network/client.cc -o src/network/client.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/network/client.cc  -fPIC -DPIC -o src/network/.libs/client.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/network/dns.cc -o src/network/dns.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/network/dns.cc  -fPIC -DPIC -o src/network/.libs/dns.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/network/socket.cc -o src/network/socket.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/network/socket.cc  -fPIC -DPIC -o src/network/.libs/socket.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/network/stream.cc -o src/network/stream.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/network/stream.cc  -fPIC -DPIC -o src/network/.libs/stream.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/async_thread.cc -o src/os/async_thread.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/async_thread.cc  -fPIC -DPIC -o src/os/.libs/async_thread.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/base.cc -o src/os/base.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/base.cc  -fPIC -DPIC -o src/os/.libs/base.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/file.cc -o src/os/file.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/file.cc  -fPIC -DPIC -o src/os/.libs/file.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/msg_queue.cc -o src/os/msg_queue.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/msg_queue.cc  -fPIC -DPIC -o src/os/.libs/msg_queue.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/pipe.cc -o src/os/pipe.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/pipe.cc  -fPIC -DPIC -o src/os/.libs/pipe.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/process_pool.cc -o src/os/process_pool.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/process_pool.cc  -fPIC -DPIC -o src/os/.libs/process_pool.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/sendfile.cc -o src/os/sendfile.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/sendfile.cc  -fPIC -DPIC -o src/os/.libs/sendfile.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/signal.cc -o src/os/signal.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/signal.cc  -fPIC -DPIC -o src/os/.libs/signal.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/timer.cc -o src/os/timer.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/timer.cc  -fPIC -DPIC -o src/os/.libs/timer.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/unix_socket.cc -o src/os/unix_socket.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/unix_socket.cc  -fPIC -DPIC -o src/os/.libs/unix_socket.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/os/wait.cc -o src/os/wait.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/os/wait.cc  -fPIC -DPIC -o src/os/.libs/wait.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/base.cc -o src/protocol/base.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/base.cc  -fPIC -DPIC -o src/protocol/.libs/base.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/base64.cc -o src/protocol/base64.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/base64.cc  -fPIC -DPIC -o src/protocol/.libs/base64.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/dtls.cc -o src/protocol/dtls.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/dtls.cc  -fPIC -DPIC -o src/protocol/.libs/dtls.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/http.cc -o src/protocol/http.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/http.cc  -fPIC -DPIC -o src/protocol/.libs/http.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/http2.cc -o src/protocol/http2.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/http2.cc  -fPIC -DPIC -o src/protocol/.libs/http2.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/mime_type.cc -o src/protocol/mime_type.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/mime_type.cc  -fPIC -DPIC -o src/protocol/.libs/mime_type.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/mqtt.cc -o src/protocol/mqtt.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/mqtt.cc  -fPIC -DPIC -o src/protocol/.libs/mqtt.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/redis.cc -o src/protocol/redis.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/redis.cc  -fPIC -DPIC -o src/protocol/.libs/redis.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/socks5.cc -o src/protocol/socks5.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/socks5.cc  -fPIC -DPIC -o src/protocol/.libs/socks5.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/ssl.cc -o src/protocol/ssl.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/ssl.cc  -fPIC -DPIC -o src/protocol/.libs/ssl.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/protocol/websocket.cc -o src/protocol/websocket.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/protocol/websocket.cc  -fPIC -DPIC -o src/protocol/.libs/websocket.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/reactor/base.cc -o src/reactor/base.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/reactor/base.cc  -fPIC -DPIC -o src/reactor/.libs/base.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/reactor/epoll.cc -o src/reactor/epoll.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/reactor/epoll.cc  -fPIC -DPIC -o src/reactor/.libs/epoll.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/reactor/kqueue.cc -o src/reactor/kqueue.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/reactor/kqueue.cc  -fPIC -DPIC -o src/reactor/.libs/kqueue.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/reactor/poll.cc -o src/reactor/poll.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/reactor/poll.cc  -fPIC -DPIC -o src/reactor/.libs/poll.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/reactor/select.cc -o src/reactor/select.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/reactor/select.cc  -fPIC -DPIC -o src/reactor/.libs/select.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/base.cc -o src/server/base.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/base.cc  -fPIC -DPIC -o src/server/.libs/base.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/manager.cc -o src/server/manager.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/manager.cc  -fPIC -DPIC -o src/server/.libs/manager.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/master.cc -o src/server/master.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/master.cc  -fPIC -DPIC -o src/server/.libs/master.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/message_bus.cc -o src/server/message_bus.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/message_bus.cc  -fPIC -DPIC -o src/server/.libs/message_bus.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/port.cc -o src/server/port.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/port.cc  -fPIC -DPIC -o src/server/.libs/port.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/process.cc -o src/server/process.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/process.cc  -fPIC -DPIC -o src/server/.libs/process.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/reactor_process.cc -o src/server/reactor_process.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/reactor_process.cc  -fPIC -DPIC -o src/server/.libs/reactor_process.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/reactor_thread.cc -o src/server/reactor_thread.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/reactor_thread.cc  -fPIC -DPIC -o src/server/.libs/reactor_thread.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/static_handler.cc -o src/server/static_handler.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/static_handler.cc  -fPIC -DPIC -o src/server/.libs/static_handler.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/task_worker.cc -o src/server/task_worker.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/task_worker.cc  -fPIC -DPIC -o src/server/.libs/task_worker.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/server/worker.cc -o src/server/worker.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/server/worker.cc  -fPIC -DPIC -o src/server/.libs/worker.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/wrapper/event.cc -o src/wrapper/event.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/wrapper/event.cc  -fPIC -DPIC -o src/wrapper/.libs/event.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/src/wrapper/timer.cc -o src/wrapper/timer.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/src/wrapper/timer.cc  -fPIC -DPIC -o src/wrapper/.libs/timer.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/curl/interface.cc -o thirdparty/php/curl/interface.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/curl/interface.cc  -fPIC -DPIC -o thirdparty/php/curl/.libs/interface.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/curl/multi.cc -o thirdparty/php/curl/multi.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/curl/multi.cc  -fPIC -DPIC -o thirdparty/php/curl/.libs/multi.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/multicast.cc -o thirdparty/php/sockets/multicast.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/multicast.cc  -fPIC -DPIC -o thirdparty/php/sockets/.libs/multicast.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/sendrecvmsg.cc -o thirdparty/php/sockets/sendrecvmsg.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/sendrecvmsg.cc  -fPIC -DPIC -o thirdparty/php/sockets/.libs/sendrecvmsg.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/conversions.cc -o thirdparty/php/sockets/conversions.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/conversions.cc  -fPIC -DPIC -o thirdparty/php/sockets/.libs/conversions.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/sockaddr_conv.cc -o thirdparty/php/sockets/sockaddr_conv.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/sockets/sockaddr_conv.cc  -fPIC -DPIC -o thirdparty/php/sockets/.libs/sockaddr_conv.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/standard/var_decoder.cc -o thirdparty/php/standard/var_decoder.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/standard/var_decoder.cc  -fPIC -DPIC -o thirdparty/php/standard/.libs/var_decoder.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile g++  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11   -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/standard/proc_open.cc -o thirdparty/php/standard/proc_open.lo
libtool: compile:  g++ -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -g -O2 -Wall -Wno-unused-function -Wno-deprecated -Wno-deprecated-declarations -std=c++11 -c /usr/local/src/swoole-src-4.8.4/thirdparty/php/standard/proc_open.cc  -fPIC -DPIC -o thirdparty/php/standard/.libs/proc_open.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/swoole_http_parser.c -o thirdparty/swoole_http_parser.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/swoole_http_parser.c  -fPIC -DPIC -o thirdparty/.libs/swoole_http_parser.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/multipart_parser.c -o thirdparty/multipart_parser.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/multipart_parser.c  -fPIC -DPIC -o thirdparty/.libs/multipart_parser.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/hiredis.c -o thirdparty/hiredis/hiredis.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/hiredis.c  -fPIC -DPIC -o thirdparty/hiredis/.libs/hiredis.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/alloc.c -o thirdparty/hiredis/alloc.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/alloc.c  -fPIC -DPIC -o thirdparty/hiredis/.libs/alloc.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/net.c -o thirdparty/hiredis/net.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/net.c  -fPIC -DPIC -o thirdparty/hiredis/.libs/net.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/read.c -o thirdparty/hiredis/read.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/read.c  -fPIC -DPIC -o thirdparty/hiredis/.libs/read.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/sds.c -o thirdparty/hiredis/sds.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/hiredis/sds.c  -fPIC -DPIC -o thirdparty/hiredis/.libs/sds.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_hd.c -o thirdparty/nghttp2/nghttp2_hd.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_hd.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_hd.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_rcbuf.c -o thirdparty/nghttp2/nghttp2_rcbuf.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_rcbuf.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_rcbuf.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_helper.c -o thirdparty/nghttp2/nghttp2_helper.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_helper.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_helper.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_buf.c -o thirdparty/nghttp2/nghttp2_buf.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_buf.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_buf.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_mem.c -o thirdparty/nghttp2/nghttp2_mem.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_mem.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_mem.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_hd_huffman.c -o thirdparty/nghttp2/nghttp2_hd_huffman.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_hd_huffman.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_hd_huffman.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_hd_huffman_data.c -o thirdparty/nghttp2/nghttp2_hd_huffman_data.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/nghttp2/nghttp2_hd_huffman_data.c  -fPIC -DPIC -o thirdparty/nghttp2/.libs/nghttp2_hd_huffman_data.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/boost/asm/make_x86_64_sysv_elf_gas.S -o thirdparty/boost/asm/make_x86_64_sysv_elf_gas.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/boost/asm/make_x86_64_sysv_elf_gas.S  -fPIC -DPIC -o thirdparty/boost/asm/.libs/make_x86_64_sysv_elf_gas.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=compile cc -std=gnu99  -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2   -c /usr/local/src/swoole-src-4.8.4/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S -o thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.lo
libtool: compile:  cc -std=gnu99 -DENABLE_PHP_SWOOLE -I. -I/usr/local/src/swoole-src-4.8.4 -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /usr/local/src/swoole-src-4.8.4/thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.S  -fPIC -DPIC -o thirdparty/boost/asm/.libs/jump_x86_64_sysv_elf_gas.o
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=link g++ -DPHP_ATOM_INC -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/main -I/usr/local/src/swoole-src-4.8.4 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/src/swoole-src-4.8.4 -I/usr/local/src/swoole-src-4.8.4/include -I/usr/local/src/swoole-src-4.8.4/ext-src -I/usr/local/src/swoole-src-4.8.4/thirdparty -I/usr/local/src/swoole-src-4.8.4/thirdparty/hiredis  -DHAVE_CONFIG_H  -Wall -pthread -g -O2  -lpthread -z now  -o swoole.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/src/swoole-src-4.8.4/modules  ext-src/php_swoole.lo ext-src/php_swoole_cxx.lo ext-src/swoole_admin_server.lo ext-src/swoole_async_coro.lo ext-src/swoole_atomic.lo ext-src/swoole_channel_coro.lo ext-src/swoole_client.lo ext-src/swoole_client_coro.lo ext-src/swoole_coroutine.lo ext-src/swoole_coroutine_scheduler.lo ext-src/swoole_coroutine_system.lo ext-src/swoole_curl.lo ext-src/swoole_event.lo ext-src/swoole_http2_client_coro.lo ext-src/swoole_http2_server.lo ext-src/swoole_http_client_coro.lo ext-src/swoole_http_request.lo ext-src/swoole_http_response.lo ext-src/swoole_http_server.lo ext-src/swoole_http_server_coro.lo ext-src/swoole_lock.lo ext-src/swoole_mysql_coro.lo ext-src/swoole_mysql_proto.lo ext-src/swoole_process.lo ext-src/swoole_process_pool.lo ext-src/swoole_redis_coro.lo ext-src/swoole_redis_server.lo ext-src/swoole_runtime.lo ext-src/swoole_server.lo ext-src/swoole_server_port.lo ext-src/swoole_socket_coro.lo ext-src/swoole_table.lo ext-src/swoole_timer.lo ext-src/swoole_websocket_server.lo src/core/base.lo src/core/channel.lo src/core/crc32.lo src/core/error.lo src/core/heap.lo src/core/log.lo src/core/string.lo src/core/timer.lo src/coroutine/base.lo src/coroutine/channel.lo src/coroutine/context.lo src/coroutine/file_lock.lo src/coroutine/hook.lo src/coroutine/socket.lo src/coroutine/system.lo src/coroutine/thread_context.lo src/lock/mutex.lo src/lock/rw_lock.lo src/lock/spin_lock.lo src/memory/buffer.lo src/memory/fixed_pool.lo src/memory/global_memory.lo src/memory/ring_buffer.lo src/memory/shared_memory.lo src/memory/table.lo src/network/address.lo src/network/client.lo src/network/dns.lo src/network/socket.lo src/network/stream.lo src/os/async_thread.lo src/os/base.lo src/os/file.lo src/os/msg_queue.lo src/os/pipe.lo src/os/process_pool.lo src/os/sendfile.lo src/os/signal.lo src/os/timer.lo src/os/unix_socket.lo src/os/wait.lo src/protocol/base.lo src/protocol/base64.lo src/protocol/dtls.lo src/protocol/http.lo src/protocol/http2.lo src/protocol/mime_type.lo src/protocol/mqtt.lo src/protocol/redis.lo src/protocol/socks5.lo src/protocol/ssl.lo src/protocol/websocket.lo src/reactor/base.lo src/reactor/epoll.lo src/reactor/kqueue.lo src/reactor/poll.lo src/reactor/select.lo src/server/base.lo src/server/manager.lo src/server/master.lo src/server/message_bus.lo src/server/port.lo src/server/process.lo src/server/reactor_process.lo src/server/reactor_thread.lo src/server/static_handler.lo src/server/task_worker.lo src/server/worker.lo src/wrapper/event.lo src/wrapper/timer.lo thirdparty/php/curl/interface.lo thirdparty/php/curl/multi.lo thirdparty/php/sockets/multicast.lo thirdparty/php/sockets/sendrecvmsg.lo thirdparty/php/sockets/conversions.lo thirdparty/php/sockets/sockaddr_conv.lo thirdparty/php/standard/var_decoder.lo thirdparty/php/standard/proc_open.lo thirdparty/swoole_http_parser.lo thirdparty/multipart_parser.lo thirdparty/hiredis/hiredis.lo thirdparty/hiredis/alloc.lo thirdparty/hiredis/net.lo thirdparty/hiredis/read.lo thirdparty/hiredis/sds.lo thirdparty/nghttp2/nghttp2_hd.lo thirdparty/nghttp2/nghttp2_rcbuf.lo thirdparty/nghttp2/nghttp2_helper.lo thirdparty/nghttp2/nghttp2_buf.lo thirdparty/nghttp2/nghttp2_mem.lo thirdparty/nghttp2/nghttp2_hd_huffman.lo thirdparty/nghttp2/nghttp2_hd_huffman_data.lo thirdparty/boost/asm/make_x86_64_sysv_elf_gas.lo thirdparty/boost/asm/jump_x86_64_sysv_elf_gas.lo -lz -lrt -lpthread
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o  ext-src/.libs/php_swoole.o ext-src/.libs/php_swoole_cxx.o ext-src/.libs/swoole_admin_server.o ext-src/.libs/swoole_async_coro.o ext-src/.libs/swoole_atomic.o ext-src/.libs/swoole_channel_coro.o ext-src/.libs/swoole_client.o ext-src/.libs/swoole_client_coro.o ext-src/.libs/swoole_coroutine.o ext-src/.libs/swoole_coroutine_scheduler.o ext-src/.libs/swoole_coroutine_system.o ext-src/.libs/swoole_curl.o ext-src/.libs/swoole_event.o ext-src/.libs/swoole_http2_client_coro.o ext-src/.libs/swoole_http2_server.o ext-src/.libs/swoole_http_client_coro.o ext-src/.libs/swoole_http_request.o ext-src/.libs/swoole_http_response.o ext-src/.libs/swoole_http_server.o ext-src/.libs/swoole_http_server_coro.o ext-src/.libs/swoole_lock.o ext-src/.libs/swoole_mysql_coro.o ext-src/.libs/swoole_mysql_proto.o ext-src/.libs/swoole_process.o ext-src/.libs/swoole_process_pool.o ext-src/.libs/swoole_redis_coro.o ext-src/.libs/swoole_redis_server.o ext-src/.libs/swoole_runtime.o ext-src/.libs/swoole_server.o ext-src/.libs/swoole_server_port.o ext-src/.libs/swoole_socket_coro.o ext-src/.libs/swoole_table.o ext-src/.libs/swoole_timer.o ext-src/.libs/swoole_websocket_server.o src/core/.libs/base.o src/core/.libs/channel.o src/core/.libs/crc32.o src/core/.libs/error.o src/core/.libs/heap.o src/core/.libs/log.o src/core/.libs/string.o src/core/.libs/timer.o src/coroutine/.libs/base.o src/coroutine/.libs/channel.o src/coroutine/.libs/context.o src/coroutine/.libs/file_lock.o src/coroutine/.libs/hook.o src/coroutine/.libs/socket.o src/coroutine/.libs/system.o src/coroutine/.libs/thread_context.o src/lock/.libs/mutex.o src/lock/.libs/rw_lock.o src/lock/.libs/spin_lock.o src/memory/.libs/buffer.o src/memory/.libs/fixed_pool.o src/memory/.libs/global_memory.o src/memory/.libs/ring_buffer.o src/memory/.libs/shared_memory.o src/memory/.libs/table.o src/network/.libs/address.o src/network/.libs/client.o src/network/.libs/dns.o src/network/.libs/socket.o src/network/.libs/stream.o src/os/.libs/async_thread.o src/os/.libs/base.o src/os/.libs/file.o src/os/.libs/msg_queue.o src/os/.libs/pipe.o src/os/.libs/process_pool.o src/os/.libs/sendfile.o src/os/.libs/signal.o src/os/.libs/timer.o src/os/.libs/unix_socket.o src/os/.libs/wait.o src/protocol/.libs/base.o src/protocol/.libs/base64.o src/protocol/.libs/dtls.o src/protocol/.libs/http.o src/protocol/.libs/http2.o src/protocol/.libs/mime_type.o src/protocol/.libs/mqtt.o src/protocol/.libs/redis.o src/protocol/.libs/socks5.o src/protocol/.libs/ssl.o src/protocol/.libs/websocket.o src/reactor/.libs/base.o src/reactor/.libs/epoll.o src/reactor/.libs/kqueue.o src/reactor/.libs/poll.o src/reactor/.libs/select.o src/server/.libs/base.o src/server/.libs/manager.o src/server/.libs/master.o src/server/.libs/message_bus.o src/server/.libs/port.o src/server/.libs/process.o src/server/.libs/reactor_process.o src/server/.libs/reactor_thread.o src/server/.libs/static_handler.o src/server/.libs/task_worker.o src/server/.libs/worker.o src/wrapper/.libs/event.o src/wrapper/.libs/timer.o thirdparty/php/curl/.libs/interface.o thirdparty/php/curl/.libs/multi.o thirdparty/php/sockets/.libs/multicast.o thirdparty/php/sockets/.libs/sendrecvmsg.o thirdparty/php/sockets/.libs/conversions.o thirdparty/php/sockets/.libs/sockaddr_conv.o thirdparty/php/standard/.libs/var_decoder.o thirdparty/php/standard/.libs/proc_open.o thirdparty/.libs/swoole_http_parser.o thirdparty/.libs/multipart_parser.o thirdparty/hiredis/.libs/hiredis.o thirdparty/hiredis/.libs/alloc.o thirdparty/hiredis/.libs/net.o thirdparty/hiredis/.libs/read.o thirdparty/hiredis/.libs/sds.o thirdparty/nghttp2/.libs/nghttp2_hd.o thirdparty/nghttp2/.libs/nghttp2_rcbuf.o thirdparty/nghttp2/.libs/nghttp2_helper.o thirdparty/nghttp2/.libs/nghttp2_buf.o thirdparty/nghttp2/.libs/nghttp2_mem.o thirdparty/nghttp2/.libs/nghttp2_hd_huffman.o thirdparty/nghttp2/.libs/nghttp2_hd_huffman_data.o thirdparty/boost/asm/.libs/make_x86_64_sysv_elf_gas.o thirdparty/boost/asm/.libs/jump_x86_64_sysv_elf_gas.o   -lz -lrt -lpthread -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o  -pthread -O2   -pthread -Wl,-soname -Wl,swoole.so -o .libs/swoole.so
libtool: link: ( cd ".libs" && rm -f "swoole.la" && ln -s "../swoole.la" "swoole.la" )
/bin/sh /usr/local/src/swoole-src-4.8.4/libtool --mode=install cp ./swoole.la /usr/local/src/swoole-src-4.8.4/modules
libtool: install: cp ./.libs/swoole.so /usr/local/src/swoole-src-4.8.4/modules/swoole.so
libtool: install: cp ./.libs/swoole.lai /usr/local/src/swoole-src-4.8.4/modules/swoole.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/g/WorkSoft/Git/cmd:/mnt/g/WorkSoft/OpenVPN/bin:/mnt/g/WorkSoft/Vagrant/bin:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/tools/lxrunoffline:/mnt/g/WorkSoft/Go/bin:/mnt/g/WorkSoft/Go/bin:/mnt/g/GoPath/bin:/mnt/c/Users/zhuyi/AppData/Local/Microsoft/WindowsApps:/root/bin:/sbin" ldconfig -n /usr/local/src/swoole-src-4.8.4/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/src/swoole-src-4.8.4/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------

Build complete.
Don't forget to run 'make test'.

[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]#
[root@BaiYang-PC swoole-src-4.8.4]# make install
Installing shared extensions:     /usr/lib64/php/modules/
Installing header files:          /usr/include/php/
[root@BaiYang-PC swoole-src-4.8.4]#

MySQL安装

下面记录下一次错误的MySQL安装过程。

大体过程:

cd /usr/local/src
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum update
yum install mysql-server

详细输出:

[root@BaiYang-PC zhuyi]# cd /usr/local/src
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# ls -l
total 9376
-rw-r--r--  1 root root   57721 Dec 23 16:16 composer-setup.php
drwxr-xr-x 18 root root    4096 Dec 14 15:18 protobuf-3.11.2
-rw-r--r--  1 root root 9533148 Dec 14  2019 protobuf-all-3.11.2.zip
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
--2021-12-24 10:48:31--  http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
Resolving repo.mysql.com (repo.mysql.com)... 23.48.229.22
Connecting to repo.mysql.com (repo.mysql.com)|23.48.229.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6140 (6.0K) [application/x-redhat-package-manager]
Saving to: ‘mysql-community-release-el7-5.noarch.rpm’

100%[==============================================================================>] 6,140       7.21KB/s   in 0.8s

2021-12-24 10:48:34 (7.21 KB/s) - ‘mysql-community-release-el7-5.noarch.rpm’ saved [6140/6140]

[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -ivh mysql-community-release-el7-5.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:mysql-community-release-el7-5    ################################# [100%]
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum update
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                 | 7.9 kB  00:00:00
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
base                                 | 3.6 kB  00:00:00
epel                                 | 4.7 kB  00:00:00
extras                               | 2.9 kB  00:00:00
mysql-connectors-community           | 2.6 kB  00:00:00
mysql-tools-community                | 2.6 kB  00:00:00
mysql56-community                    | 2.6 kB  00:00:00
nginx-stable                         | 2.9 kB  00:00:00
remi-safe                            | 3.0 kB  00:00:00
updates                              | 2.9 kB  00:00:00
(1/6): epel/x86_64/updateinfo        | 1.0 MB  00:00:16
(2/6): mysql-connectors-community/x86_64/primary_db    |  87 kB  00:00:02
(3/6): mysql-tools-community/x86_64/primary_db         |  92 kB  00:00:03
(4/6): mysql56-community/x86_64/primary_db             | 297 kB  00:00:06
(5/6): epel/x86_64/primary_db        | 7.0 MB  00:00:39
(6/6): remi-safe/primary_db          | 2.1 MB  00:00:48
Resolving Dependencies
--> Running transaction check
---> Package bash.x86_64 0:4.2.46-34.el7 will be updated
---> Package bash.x86_64 0:4.2.46-35.el7_9 will be an update
---> Package bind-license.noarch 32:9.11.4-16.P2.el7 will be updated
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.8 will be an update
---> Package binutils.x86_64 0:2.27-43.base.el7 will be updated
---> Package binutils.x86_64 0:2.27-44.base.el7_9.1 will be an update
---> Package ca-certificates.noarch 0:2019.2.32-76.el7_7 will be updated
---> Package ca-certificates.noarch 0:2021.2.50-72.el7_9 will be an update
---> Package centos-release.x86_64 0:7-8.2003.0.el7.centos will be updated
---> Package centos-release.x86_64 0:7-9.2009.1.el7.centos will be an update
---> Package chkconfig.x86_64 0:1.7.4-1.el7 will be updated
---> Package chkconfig.x86_64 0:1.7.6-1.el7 will be an update
---> Package coreutils.x86_64 0:8.22-24.el7 will be updated
---> Package coreutils.x86_64 0:8.22-24.el7_9.2 will be an update
---> Package cpio.x86_64 0:2.11-27.el7 will be updated
---> Package cpio.x86_64 0:2.11-28.el7 will be an update
---> Package curl.x86_64 0:7.29.0-57.el7 will be updated
---> Package curl.x86_64 0:7.29.0-59.el7_9.1 will be an update
---> Package dbus.x86_64 1:1.10.24-13.el7_6 will be updated
---> Package dbus.x86_64 1:1.10.24-15.el7 will be an update
---> Package dbus-libs.x86_64 1:1.10.24-13.el7_6 will be updated
---> Package dbus-libs.x86_64 1:1.10.24-15.el7 will be an update
---> Package device-mapper.x86_64 7:1.02.164-7.el7 will be updated
---> Package device-mapper.x86_64 7:1.02.170-6.el7_9.5 will be an update
---> Package device-mapper-libs.x86_64 7:1.02.164-7.el7 will be updated
---> Package device-mapper-libs.x86_64 7:1.02.170-6.el7_9.5 will be an update
---> Package dracut.x86_64 0:033-568.el7 will be updated
---> Package dracut.x86_64 0:033-572.el7 will be an update
---> Package elfutils-default-yama-scope.noarch 0:0.176-4.el7 will be updated
---> Package elfutils-default-yama-scope.noarch 0:0.176-5.el7 will be an update
---> Package elfutils-libelf.x86_64 0:0.176-4.el7 will be updated
---> Package elfutils-libelf.x86_64 0:0.176-5.el7 will be an update
---> Package elfutils-libs.x86_64 0:0.176-4.el7 will be updated
---> Package elfutils-libs.x86_64 0:0.176-5.el7 will be an update
---> Package epel-release.noarch 0:7-11 will be updated
---> Package epel-release.noarch 0:7-14 will be an update
---> Package expat.x86_64 0:2.1.0-11.el7 will be updated
---> Package expat.x86_64 0:2.1.0-12.el7 will be an update
---> Package file-libs.x86_64 0:5.11-36.el7 will be updated
---> Package file-libs.x86_64 0:5.11-37.el7 will be an update
---> Package gd-last.x86_64 0:2.3.2-1.el7.remi will be updated
---> Package gd-last.x86_64 0:2.3.3-2.el7.remi will be an update
---> Package glib2.x86_64 0:2.56.1-5.el7 will be updated
---> Package glib2.x86_64 0:2.56.1-9.el7_9 will be an update
---> Package httpd.x86_64 0:2.4.6-97.el7.centos will be updated
---> Package httpd.x86_64 0:2.4.6-97.el7.centos.2 will be an update
---> Package httpd-tools.x86_64 0:2.4.6-97.el7.centos will be updated
---> Package httpd-tools.x86_64 0:2.4.6-97.el7.centos.2 will be an update
---> Package kpartx.x86_64 0:0.4.9-131.el7 will be updated
---> Package kpartx.x86_64 0:0.4.9-135.el7_9 will be an update
---> Package krb5-libs.x86_64 0:1.15.1-46.el7 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-51.el7_9 will be an update
---> Package libblkid.x86_64 0:2.23.2-63.el7 will be updated
---> Package libblkid.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package libcom_err.x86_64 0:1.42.9-17.el7 will be updated
---> Package libcom_err.x86_64 0:1.42.9-19.el7 will be an update
---> Package libcurl.x86_64 0:7.29.0-57.el7 will be updated
---> Package libcurl.x86_64 0:7.29.0-59.el7_9.1 will be an update
---> Package libmount.x86_64 0:2.23.2-63.el7 will be updated
---> Package libmount.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package libsmartcols.x86_64 0:2.23.2-63.el7 will be updated
---> Package libsmartcols.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package libssh2.x86_64 0:1.8.0-3.el7 will be updated
---> Package libssh2.x86_64 0:1.8.0-4.el7 will be an update
---> Package libuuid.x86_64 0:2.23.2-63.el7 will be updated
---> Package libuuid.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package libxml2.x86_64 0:2.9.1-6.el7.4 will be updated
---> Package libxml2.x86_64 0:2.9.1-6.el7_9.6 will be an update
---> Package libxml2-python.x86_64 0:2.9.1-6.el7.4 will be updated
---> Package libxml2-python.x86_64 0:2.9.1-6.el7_9.6 will be an update
---> Package lz4.x86_64 0:1.7.5-3.el7 will be updated
---> Package lz4.x86_64 0:1.8.3-1.el7 will be an update
---> Package nginx.x86_64 1:1.20.1-1.el7.ngx will be updated
---> Package nginx.x86_64 1:1.20.2-1.el7.ngx will be an update
---> Package nspr.x86_64 0:4.21.0-1.el7 will be updated
---> Package nspr.x86_64 0:4.32.0-1.el7_9 will be an update
---> Package nss.x86_64 0:3.44.0-7.el7_7 will be updated
---> Package nss.x86_64 0:3.67.0-4.el7_9 will be an update
---> Package nss-softokn.x86_64 0:3.44.0-8.el7_7 will be updated
---> Package nss-softokn.x86_64 0:3.67.0-3.el7_9 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.67.0-3.el7_9 will be an update
---> Package nss-sysinit.x86_64 0:3.44.0-7.el7_7 will be updated
---> Package nss-sysinit.x86_64 0:3.67.0-4.el7_9 will be an update
---> Package nss-tools.x86_64 0:3.44.0-7.el7_7 will be updated
---> Package nss-tools.x86_64 0:3.67.0-4.el7_9 will be an update
---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be updated
---> Package nss-util.x86_64 0:3.67.0-1.el7_9 will be an update
---> Package openldap.x86_64 0:2.4.44-21.el7_6 will be updated
---> Package openldap.x86_64 0:2.4.44-24.el7_9 will be an update
---> Package openssl.x86_64 1:1.0.2k-21.el7_9 will be updated
---> Package openssl.x86_64 1:1.0.2k-22.el7_9 will be an update
---> Package openssl-libs.x86_64 1:1.0.2k-21.el7_9 will be updated
---> Package openssl-libs.x86_64 1:1.0.2k-22.el7_9 will be an update
---> Package php74-php-bcmath.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-bcmath.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-cli.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-cli.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-common.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-common.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-fpm.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-fpm.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-gd.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-gd.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-json.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-json.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-mbstring.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-mbstring.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-mysqlnd.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-mysqlnd.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-opcache.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-opcache.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-pdo.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-pdo.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package php74-php-pecl-zip.x86_64 0:1.19.3-2.el7.remi will be updated
---> Package php74-php-pecl-zip.x86_64 0:1.20.0-1.el7.remi will be an update
---> Package php74-php-xml.x86_64 0:7.4.23-1.el7.remi will be updated
---> Package php74-php-xml.x86_64 0:7.4.27-1.el7.remi will be an update
---> Package procps-ng.x86_64 0:3.3.10-27.el7 will be updated
---> Package procps-ng.x86_64 0:3.3.10-28.el7 will be an update
---> Package python.x86_64 0:2.7.5-88.el7 will be updated
---> Package python.x86_64 0:2.7.5-90.el7 will be an update
---> Package python-libs.x86_64 0:2.7.5-88.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-90.el7 will be an update
---> Package remi-release.noarch 0:7.9-1.el7.remi will be updated
---> Package remi-release.noarch 0:7.9-2.el7.remi will be an update
---> Package rpm.x86_64 0:4.11.3-43.el7 will be updated
---> Package rpm.x86_64 0:4.11.3-48.el7_9 will be an update
---> Package rpm-build-libs.x86_64 0:4.11.3-43.el7 will be updated
---> Package rpm-build-libs.x86_64 0:4.11.3-48.el7_9 will be an update
---> Package rpm-libs.x86_64 0:4.11.3-43.el7 will be updated
---> Package rpm-libs.x86_64 0:4.11.3-48.el7_9 will be an update
---> Package rpm-python.x86_64 0:4.11.3-43.el7 will be updated
---> Package rpm-python.x86_64 0:4.11.3-48.el7_9 will be an update
---> Package sed.x86_64 0:4.2.2-6.el7 will be updated
---> Package sed.x86_64 0:4.2.2-7.el7 will be an update
---> Package tzdata.noarch 0:2019c-1.el7 will be updated
---> Package tzdata.noarch 0:2021e-1.el7 will be an update
---> Package util-linux.x86_64 0:2.23.2-63.el7 will be updated
---> Package util-linux.x86_64 0:2.23.2-65.el7_9.1 will be an update
---> Package vim-minimal.x86_64 2:7.4.629-6.el7 will be updated
---> Package vim-minimal.x86_64 2:7.4.629-8.el7_9 will be an update
---> Package yum.noarch 0:3.4.3-167.el7.centos will be updated
---> Package yum.noarch 0:3.4.3-168.el7.centos will be an update
---> Package yum-plugin-fastestmirror.noarch 0:1.1.31-53.el7 will be updated
---> Package yum-plugin-fastestmirror.noarch 0:1.1.31-54.el7_8 will be an update
---> Package yum-plugin-ovl.noarch 0:1.1.31-53.el7 will be updated
---> Package yum-plugin-ovl.noarch 0:1.1.31-54.el7_8 will be an update
---> Package zlib.x86_64 0:1.2.7-18.el7 will be updated
---> Package zlib.x86_64 0:1.2.7-19.el7_9 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                               Arch             Version                            Repository              Size
========================================================================================================================
Updating:
 bash                                  x86_64           4.2.46-35.el7_9                    updates                1.0 M
 bind-license                          noarch           32:9.11.4-26.P2.el7_9.8            updates                 91 k
 binutils                              x86_64           2.27-44.base.el7_9.1               updates                5.9 M
 ca-certificates                       noarch           2021.2.50-72.el7_9                 updates                379 k
 centos-release                        x86_64           7-9.2009.1.el7.centos              updates                 27 k
 chkconfig                             x86_64           1.7.6-1.el7                        base                   182 k
 coreutils                             x86_64           8.22-24.el7_9.2                    updates                3.3 M
 cpio                                  x86_64           2.11-28.el7                        base                   211 k
 curl                                  x86_64           7.29.0-59.el7_9.1                  updates                271 k
 dbus                                  x86_64           1:1.10.24-15.el7                   base                   245 k
 dbus-libs                             x86_64           1:1.10.24-15.el7                   base                   169 k
 device-mapper                         x86_64           7:1.02.170-6.el7_9.5               updates                297 k
 device-mapper-libs                    x86_64           7:1.02.170-6.el7_9.5               updates                325 k
 dracut                                x86_64           033-572.el7                        base                   329 k
 elfutils-default-yama-scope           noarch           0.176-5.el7                        base                    33 k
 elfutils-libelf                       x86_64           0.176-5.el7                        base                   195 k
 elfutils-libs                         x86_64           0.176-5.el7                        base                   291 k
 epel-release                          noarch           7-14                               epel                    15 k
 expat                                 x86_64           2.1.0-12.el7                       base                    81 k
 file-libs                             x86_64           5.11-37.el7                        base                   340 k
 gd-last                               x86_64           2.3.3-2.el7.remi                   remi-safe              138 k
 glib2                                 x86_64           2.56.1-9.el7_9                     updates                2.5 M
 httpd                                 x86_64           2.4.6-97.el7.centos.2              updates                2.7 M
 httpd-tools                           x86_64           2.4.6-97.el7.centos.2              updates                 94 k
 kpartx                                x86_64           0.4.9-135.el7_9                    updates                 81 k
 krb5-libs                             x86_64           1.15.1-51.el7_9                    updates                809 k
 libblkid                              x86_64           2.23.2-65.el7_9.1                  updates                183 k
 libcom_err                            x86_64           1.42.9-19.el7                      base                    42 k
 libcurl                               x86_64           7.29.0-59.el7_9.1                  updates                223 k
 libmount                              x86_64           2.23.2-65.el7_9.1                  updates                185 k
 libsmartcols                          x86_64           2.23.2-65.el7_9.1                  updates                143 k
 libssh2                               x86_64           1.8.0-4.el7                        base                    88 k
 libuuid                               x86_64           2.23.2-65.el7_9.1                  updates                 84 k
 libxml2                               x86_64           2.9.1-6.el7_9.6                    updates                668 k
 libxml2-python                        x86_64           2.9.1-6.el7_9.6                    updates                247 k
 lz4                                   x86_64           1.8.3-1.el7                        base                    85 k
 nginx                                 x86_64           1:1.20.2-1.el7.ngx                 nginx-stable           790 k
 nspr                                  x86_64           4.32.0-1.el7_9                     updates                127 k
 nss                                   x86_64           3.67.0-4.el7_9                     updates                882 k
 nss-softokn                           x86_64           3.67.0-3.el7_9                     updates                358 k
 nss-softokn-freebl                    x86_64           3.67.0-3.el7_9                     updates                337 k
 nss-sysinit                           x86_64           3.67.0-4.el7_9                     updates                 66 k
 nss-tools                             x86_64           3.67.0-4.el7_9                     updates                549 k
 nss-util                              x86_64           3.67.0-1.el7_9                     updates                 79 k
 openldap                              x86_64           2.4.44-24.el7_9                    updates                356 k
 openssl                               x86_64           1:1.0.2k-22.el7_9                  updates                494 k
 openssl-libs                          x86_64           1:1.0.2k-22.el7_9                  updates                1.2 M
 php74-php-bcmath                      x86_64           7.4.27-1.el7.remi                  remi-safe               83 k
 php74-php-cli                         x86_64           7.4.27-1.el7.remi                  remi-safe              3.5 M
 php74-php-common                      x86_64           7.4.27-1.el7.remi                  remi-safe              697 k
 php74-php-fpm                         x86_64           7.4.27-1.el7.remi                  remi-safe              1.8 M
 php74-php-gd                          x86_64           7.4.27-1.el7.remi                  remi-safe               88 k
 php74-php-json                        x86_64           7.4.27-1.el7.remi                  remi-safe               77 k
 php74-php-mbstring                    x86_64           7.4.27-1.el7.remi                  remi-safe              487 k
 php74-php-mysqlnd                     x86_64           7.4.27-1.el7.remi                  remi-safe              195 k
 php74-php-opcache                     x86_64           7.4.27-1.el7.remi                  remi-safe              270 k
 php74-php-pdo                         x86_64           7.4.27-1.el7.remi                  remi-safe              125 k
 php74-php-pecl-zip                    x86_64           1.20.0-1.el7.remi                  remi-safe               54 k
 php74-php-xml                         x86_64           7.4.27-1.el7.remi                  remi-safe              174 k
 procps-ng                             x86_64           3.3.10-28.el7                      base                   291 k
 python                                x86_64           2.7.5-90.el7                       updates                 96 k
 python-libs                           x86_64           2.7.5-90.el7                       updates                5.6 M
 remi-release                          noarch           7.9-2.el7.remi                     remi-safe               23 k
 rpm                                   x86_64           4.11.3-48.el7_9                    updates                1.2 M
 rpm-build-libs                        x86_64           4.11.3-48.el7_9                    updates                108 k
 rpm-libs                              x86_64           4.11.3-48.el7_9                    updates                279 k
 rpm-python                            x86_64           4.11.3-48.el7_9                    updates                 84 k
 sed                                   x86_64           4.2.2-7.el7                        base                   231 k
 tzdata                                noarch           2021e-1.el7                        updates                501 k
 util-linux                            x86_64           2.23.2-65.el7_9.1                  updates                2.0 M
 vim-minimal                           x86_64           2:7.4.629-8.el7_9                  updates                443 k
 yum                                   noarch           3.4.3-168.el7.centos               base                   1.2 M
 yum-plugin-fastestmirror              noarch           1.1.31-54.el7_8                    base                    34 k
 yum-plugin-ovl                        noarch           1.1.31-54.el7_8                    base                    28 k
 zlib                                  x86_64           1.2.7-19.el7_9                     updates                 90 k

Transaction Summary
========================================================================================================================
Upgrade  75 Packages

Total download size: 47 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/75): bind-license-9.11.4-26.P2.el7_9.8.noarch.rpm    |  91 kB  00:00:04
bash-4.2.46-35.el7_9.x86_64.rp FAILED        ]  14 kB/s | 1.1 MB  00:56:45 ETA
http://mirrors.aliyun.com/centos/7/updates/x86_64/Packages/bash-4.2.46-35.el7_9.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyun.com/centos/7/updates/x86_64/Packages/bash-4.2.46-35.el7_9.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
(2/75): ca-certificates-2021.2.50-72.el7_9.noarch.rpm   | 379 kB  00:00:00
binutils-2.27-44.base.el7_9.1. FAILED        ] 9.4 kB/s | 1.4 MB  01:22:09 ETA
http://mirrors.aliyun.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 14] curl#18 - "transfer closed with 5220094 bytes remaining to read"
Trying other mirror.
(3/75): centos-release-7-9.2009.1.el7.centos.x86_64.rpm |  27 kB  00:00:00
(4/75): chkconfig-1.7.6-1.el7.x86_64.rpm                | 182 kB  00:00:00
(5/75): cpio-2.11-28.el7.x86_64.rpm                     | 211 kB  00:00:00
(6/75): coreutils-8.22-24.el7_9.2.x86_64.rpm            | 3.3 MB  00:00:05
(7/75): dbus-libs-1.10.24-15.el7.x86_64.rpm             | 169 kB  00:00:00
(8/75): dbus-1.10.24-15.el7.x86_64.rpm                  | 245 kB  00:00:00
(9/75): curl-7.29.0-59.el7_9.1.x86_64.rpm               | 271 kB  00:00:00
(10/75): device-mapper-1.02.170-6.el7_9.5.x86_64.rpm    | 297 kB  00:00:00
(11/75): device-mapper-libs-1.02.170-6.el7_9.5.x86_64.rpm      | 325 kB  00:00:00
(12/75): elfutils-default-yama-scope-0.176-5.el7.noarch.rpm    |  33 kB  00:00:00
(13/75): dracut-033-572.el7.x86_64.rpm                  | 329 kB  00:00:00
(14/75): epel-release-7-14.noarch.rpm                   |  15 kB  00:00:00
(15/75): elfutils-libs-0.176-5.el7.x86_64.rpm           | 291 kB  00:00:00
(16/75): expat-2.1.0-12.el7.x86_64.rpm                  |  81 kB  00:00:00
(17/75): elfutils-libelf-0.176-5.el7.x86_64.rpm         | 195 kB  00:00:00
(18/75): file-libs-5.11-37.el7.x86_64.rpm               | 340 kB  00:00:01
(19/75): gd-last-2.3.3-2.el7.remi.x86_64.rpm            | 138 kB  00:00:02
(20/75): glib2-2.56.1-9.el7_9.x86_64.rpm                | 2.5 MB  00:00:02
(21/75): httpd-2.4.6-97.el7.centos.2.x86_64.rpm         | 2.7 MB  00:00:02
(22/75): httpd-tools-2.4.6-97.el7.centos.2.x86_64.rpm   |  94 kB  00:00:00
(23/75): kpartx-0.4.9-135.el7_9.x86_64.rpm              |  81 kB  00:00:00
(24/75): krb5-libs-1.15.1-51.el7_9.x86_64.rpm           | 809 kB  00:00:00
(25/75): libblkid-2.23.2-65.el7_9.1.x86_64.rpm          | 183 kB  00:00:00
(26/75): libcom_err-1.42.9-19.el7.x86_64.rpm            |  42 kB  00:00:00
(27/75): libcurl-7.29.0-59.el7_9.1.x86_64.rpm           | 223 kB  00:00:00
(28/75): libmount-2.23.2-65.el7_9.1.x86_64.rpm          | 185 kB  00:00:00
(29/75): libsmartcols-2.23.2-65.el7_9.1.x86_64.rpm      | 143 kB  00:00:00
(30/75): libuuid-2.23.2-65.el7_9.1.x86_64.rpm           |  84 kB  00:00:00
(31/75): libssh2-1.8.0-4.el7.x86_64.rpm                 |  88 kB  00:00:00
(32/75): libxml2-2.9.1-6.el7_9.6.x86_64.rpm             | 668 kB  00:00:00
(33/75): libxml2-python-2.9.1-6.el7_9.6.x86_64.rpm      | 247 kB  00:00:00
(34/75): nspr-4.32.0-1.el7_9.x86_64.rpm                 | 127 kB  00:00:00
(35/75): lz4-1.8.3-1.el7.x86_64.rpm                     |  85 kB  00:00:00
(36/75): nss-3.67.0-4.el7_9.x86_64.rpm                  | 882 kB  00:00:00
(37/75): nss-softokn-3.67.0-3.el7_9.x86_64.rpm          | 358 kB  00:00:00
(38/75): nss-softokn-freebl-3.67.0-3.el7_9.x86_64.rpm   | 337 kB  00:00:00
(39/75): nss-sysinit-3.67.0-4.el7_9.x86_64.rpm          |  66 kB  00:00:00
(40/75): nss-tools-3.67.0-4.el7_9.x86_64.rpm            | 549 kB  00:00:00
(41/75): nss-util-3.67.0-1.el7_9.x86_64.rpm             |  79 kB  00:00:00
(42/75): openldap-2.4.44-24.el7_9.x86_64.rpm            | 356 kB  00:00:00
(43/75): openssl-1.0.2k-22.el7_9.x86_64.rpm             | 494 kB  00:00:00
(44/75): php74-php-bcmath-7.4.27-1.el7.remi.x86_64.rpm  |  83 kB  00:00:00
(45/75): php74-php-fpm-7.4.27-1.el7.remi.x86_64.rpm     | 1.8 MB  00:00:03
(46/75): openssl-libs-1.0.2k-22.el7_9.x86_64.rpm        | 1.2 MB  00:00:03
(47/75): php74-php-gd-7.4.27-1.el7.remi.x86_64.rpm      |  88 kB  00:00:00
(48/75): php74-php-mbstring-7.4.27-1.el7.remi.x86_64.rpm      | 487 kB  00:00:01
(49/75): php74-php-json-7.4.27-1.el7.remi.x86_64.rpm    |  77 kB  00:00:01
(50/75): php74-php-mysqlnd-7.4.27-1.el7.remi.x86_64.rpm | 195 kB  00:00:01
(51/75): php74-php-opcache-7.4.27-1.el7.remi.x86_64.rpm | 270 kB  00:00:00
(52/75): php74-php-pdo-7.4.27-1.el7.remi.x86_64.rpm     | 125 kB  00:00:00
(53/75): php74-php-pecl-zip-1.20.0-1.el7.remi.x86_64.rpm   |  54 kB  00:00:00
(54/75): php74-php-xml-7.4.27-1.el7.remi.x86_64.rpm     | 174 kB  00:00:00
(55/75): procps-ng-3.3.10-28.el7.x86_64.rpm             | 291 kB  00:00:00
(56/75): python-2.7.5-90.el7.x86_64.rpm                 |  96 kB  00:00:00
(57/75): remi-release-7.9-2.el7.remi.noarch.rpm         |  23 kB  00:00:00
(58/75): nginx-1.20.2-1.el7.ngx.x86_64.rpm              | 790 kB  00:00:19
(59/75): python-libs-2.7.5-90.el7.x86_64.rpm            | 5.6 MB  00:00:11
(60/75): rpm-4.11.3-48.el7_9.x86_64.rpm                 | 1.2 MB  00:00:01
(61/75): rpm-build-libs-4.11.3-48.el7_9.x86_64.rpm      | 108 kB  00:00:00
(62/75): rpm-libs-4.11.3-48.el7_9.x86_64.rpm            | 279 kB  00:00:00
(63/75): rpm-python-4.11.3-48.el7_9.x86_64.rpm          |  84 kB  00:00:00
(64/75): sed-4.2.2-7.el7.x86_64.rpm                     | 231 kB  00:00:00
(65/75): tzdata-2021e-1.el7.noarch.rpm                  | 501 kB  00:00:00
(66/75): util-linux-2.23.2-65.el7_9.1.x86_64.rpm        | 2.0 MB  00:00:03
(67/75): vim-minimal-7.4.629-8.el7_9.x86_64.rpm         | 443 kB  00:00:00
(68/75): yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm    |  34 kB  00:00:00
(69/75): yum-plugin-ovl-1.1.31-54.el7_8.noarch.rpm      |  28 kB  00:00:00
(70/75): zlib-1.2.7-19.el7_9.x86_64.rpm                 |  90 kB  00:00:00
bash-4.2.46-35.el7_9.x86_64.rp FAILED        ] 714 kB/s |  35 MB  00:00:16 ETA
http://mirrors.cloud.aliyuncs.com/centos/7/updates/x86_64/Packages/bash-4.2.46-35.el7_9.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error"
Trying other mirror.
(71/75): yum-3.4.3-168.el7.centos.noarch.rpm            | 1.2 MB  00:00:01
(72/75): php74-php-common-7.4.27-1.el7.remi.x86_64.rpm  | 697 kB  00:00:29
(73/75): php74-php-cli-7.4.27-1.el7.remi.x86_64.rpm     | 3.5 MB  00:00:52
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.cloud.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error"
Trying other mirror.
bash-4.2.46-35.el7_9.x86_64.rp FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/bash-4.2.46-35.el7_9.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/bash-4.2.46-35.el7_9.x86_64.rpm: (28, 'Connection timed out after 30000 milliseconds')
Trying other mirror.
(74/75): bash-4.2.46-35.el7_9.x86_64.rpm                | 1.0 MB  00:00:00
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: (28, 'Connection timed out after 30002 milliseconds')
Trying other mirror.
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: (28, 'Connection timed out after 30002 milliseconds')
Trying other mirror.
binutils-2.27-44.base.el7_9.1. FAILED
http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/updates/x86_64/Packages/binutils-2.27-44.base.el7_9.1.x86_64.rpm: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.


Error downloading packages:
  binutils-2.27-44.base.el7_9.1.x86_64: [Errno 256] No more mirrors to try.

[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum install mysql-server
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.51-2.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.51-2.el7 for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 5.6.10 for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: net-tools for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: perl(DBI) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: libaio.so.1()(64bit) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Processing Dependency: libnuma.so.1()(64bit) for package: mysql-community-server-5.6.51-2.el7.x86_64
--> Running transaction check
---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed
---> Package mysql-community-client.x86_64 0:5.6.51-2.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) >= 5.6.10 for package: mysql-community-client-5.6.51-2.el7.x86_64
---> Package mysql-community-common.x86_64 0:5.6.51-2.el7 will be installed
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
---> Package numactl-libs.x86_64 0:2.0.12-5.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
--> Running transaction check
---> Package mysql-community-libs.x86_64 0:5.6.51-2.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package                          Arch            Version                              Repository                  Size
========================================================================================================================
Installing:
 mysql-community-server           x86_64          5.6.51-2.el7                         mysql56-community           67 M
Installing for dependencies:
 libaio                           x86_64          0.3.109-13.el7                       base                        24 k
 mysql-community-client           x86_64          5.6.51-2.el7                         mysql56-community           21 M
 mysql-community-common           x86_64          5.6.51-2.el7                         mysql56-community          287 k
 mysql-community-libs             x86_64          5.6.51-2.el7                         mysql56-community          2.2 M
 net-tools                        x86_64          2.0-0.25.20131004git.el7             base                       306 k
 numactl-libs                     x86_64          2.0.12-5.el7                         base                        30 k
 perl-Compress-Raw-Bzip2          x86_64          2.061-3.el7                          base                        32 k
 perl-Compress-Raw-Zlib           x86_64          1:2.061-4.el7                        base                        57 k
 perl-DBI                         x86_64          1.627-4.el7                          base                       802 k
 perl-Data-Dumper                 x86_64          2.145-3.el7                          base                        47 k
 perl-IO-Compress                 noarch          2.061-2.el7                          base                       260 k
 perl-Net-Daemon                  noarch          0.48-5.el7                           base                        51 k
 perl-PlRPC                       noarch          0.2020-14.el7                        base                        36 k

Transaction Summary
========================================================================================================================
Install  1 Package (+13 Dependent packages)

Total download size: 91 M
Installed size: 366 M
Is this ok [y/d/N]: y
Downloading packages:
(1/14): libaio-0.3.109-13.el7.x86_64.rpm                |  24 kB  00:00:00
warning: /var/cache/yum/x86_64/7/mysql56-community/packages/mysql-community-common-5.6.51-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
Public key for mysql-community-common-5.6.51-2.el7.x86_64.rpm is not installed
(2/14): mysql-community-common-5.6.51-2.el7.x86_64.rpm  | 287 kB  00:00:00
(3/14): mysql-community-libs-5.6.51-2.el7.x86_64.rpm    | 2.2 MB  00:00:02
(4/14): numactl-libs-2.0.12-5.el7.x86_64.rpm            |  30 kB  00:00:02
(5/14): net-tools-2.0-0.25.20131004git.el7.x86_64.rpm   | 306 kB  00:00:02
(6/14): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm  |  32 kB  00:00:00
(7/14): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm   |  57 kB  00:00:00
(8/14): perl-Data-Dumper-2.145-3.el7.x86_64.rpm         |  47 kB  00:00:00
(9/14): perl-DBI-1.627-4.el7.x86_64.rpm                 | 802 kB  00:00:16
(10/14): perl-Net-Daemon-0.48-5.el7.noarch.rpm          |  51 kB  00:00:00
(11/14): perl-PlRPC-0.2020-14.el7.noarch.rpm            |  36 kB  00:00:01
(12/14): perl-IO-Compress-2.061-2.el7.noarch.rpm        | 260 kB  00:00:35
(13/14): mysql-community-client-5.6.51-2.el7.x86_64.rpm |  21 MB  00:00:48
(14/14): mysql-community-server-5.6.51-2.el7.x86_64.rpm |  67 MB  00:01:17
------------------------------------------------------------------------------------------------------------------------
Total                                          1.1 MB/s |  91 MB  00:01:20
Retrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Importing GPG key 0x5072E1F5:
 Userid     : "MySQL Release Engineering <mysql-build@oss.oracle.com>"
 Fingerprint: a4a9 4068 76fc bd3c 4567 70c8 8c71 8d3b 5072 e1f5
 Package    : mysql-community-release-el7-5.noarch (installed)
 From       : file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : mysql-community-common-5.6.51-2.el7.x86_64                 1/14
  Installing : perl-Data-Dumper-2.145-3.el7.x86_64                        2/14
  Installing : mysql-community-libs-5.6.51-2.el7.x86_64                   3/14
  Installing : mysql-community-client-5.6.51-2.el7.x86_64                 4/14
  Installing : libaio-0.3.109-13.el7.x86_64                               5/14
  Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                6/14
  Installing : net-tools-2.0-0.25.20131004git.el7.x86_64                  7/14
  Installing : numactl-libs-2.0.12-5.el7.x86_64                           8/14
  Installing : perl-Net-Daemon-0.48-5.el7.noarch                          9/14
  Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                10/14
  Installing : perl-IO-Compress-2.061-2.el7.noarch                       11/14
  Installing : perl-PlRPC-0.2020-14.el7.noarch                           12/14
  Installing : perl-DBI-1.627-4.el7.x86_64                               13/14
  Installing : mysql-community-server-5.6.51-2.el7.x86_64                14/14
  Verifying  : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                 1/14
  Verifying  : perl-Net-Daemon-0.48-5.el7.noarch                          2/14
  Verifying  : perl-Data-Dumper-2.145-3.el7.x86_64                        3/14
  Verifying  : numactl-libs-2.0.12-5.el7.x86_64                           4/14
  Verifying  : mysql-community-libs-5.6.51-2.el7.x86_64                   5/14
  Verifying  : perl-IO-Compress-2.061-2.el7.noarch                        6/14
  Verifying  : net-tools-2.0-0.25.20131004git.el7.x86_64                  7/14
  Verifying  : mysql-community-server-5.6.51-2.el7.x86_64                 8/14
  Verifying  : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                9/14
  Verifying  : mysql-community-common-5.6.51-2.el7.x86_64                10/14
  Verifying  : perl-DBI-1.627-4.el7.x86_64                               11/14
  Verifying  : libaio-0.3.109-13.el7.x86_64                              12/14
  Verifying  : perl-PlRPC-0.2020-14.el7.noarch                           13/14
  Verifying  : mysql-community-client-5.6.51-2.el7.x86_64                14/14

Installed:
  mysql-community-server.x86_64 0:5.6.51-2.el7

Dependency Installed:
  libaio.x86_64 0:0.3.109-13.el7                             mysql-community-client.x86_64 0:5.6.51-2.el7
  mysql-community-common.x86_64 0:5.6.51-2.el7               mysql-community-libs.x86_64 0:5.6.51-2.el7
  net-tools.x86_64 0:2.0-0.25.20131004git.el7                numactl-libs.x86_64 0:2.0.12-5.el7
  perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7               perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7
  perl-DBI.x86_64 0:1.627-4.el7                              perl-Data-Dumper.x86_64 0:2.145-3.el7
  perl-IO-Compress.noarch 0:2.061-2.el7                      perl-Net-Daemon.noarch 0:0.48-5.el7
  perl-PlRPC.noarch 0:0.2020-14.el7

Complete!
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mysqladmin --version
mysqladmin  Ver 8.42 Distrib 5.6.51, for Linux on x86_64
[root@BaiYang-PC src]#

初始设置

权限设置:

[root@BaiYang-PC src]# grep mysql /etc/passwd
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# chown -R mysql:mysql /var/lib/mysql
[root@BaiYang-PC src]#

初始化 MySQL:

[root@BaiYang-PC src]# mysqld --initialize
2021-12-24 11:03:27 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-12-24 11:03:27 0 [Note] mysqld (mysqld 5.6.51) starting as process 161 ...
2021-12-24 11:03:27 161 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

2021-12-24 11:03:27 161 [ERROR] Aborting

2021-12-24 11:03:27 161 [Note] Binlog end
2021-12-24 11:03:27 161 [Note] mysqld: Shutdown complete

[root@BaiYang-PC src]#

报错了,加上参数再执行:

[root@BaiYang-PC src]# mysqld --initialize --explicit_defaults_for_timestamp
2021-12-24 11:06:27 0 [Note] mysqld (mysqld 5.6.51) starting as process 162 ...
2021-12-24 11:06:27 162 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

2021-12-24 11:06:27 162 [ERROR] Aborting

2021-12-24 11:06:27 162 [Note] Binlog end
2021-12-24 11:06:27 162 [Note] mysqld: Shutdown complete

[root@BaiYang-PC src]#

报错了,不能以root账号启动mysql服务。

添加Linux用户,设置密码,解锁用户:

[root@BaiYang-PC src]# useradd -G mysql,nginx,root lnmp
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# grep lnmp /etc/passwd
lnmp:x:1000:1000::/home/lnmp:/bin/bash
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# passwd -S lnmp
lnmp LK 2021-12-24 0 99999 7 -1 (Password locked.)
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# passwd -u lnmp
Unlocking password for user lnmp.
passwd: Warning: unlocked password would be empty.
passwd: Unsafe operation (use -f to force)
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# passwd -S lnmp
lnmp LK 2021-12-24 0 99999 7 -1 (Password locked.)
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# echo "lnmp" | passwd --stdin lnmp
Changing password for user lnmp.
passwd: all authentication tokens updated successfully.
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# passwd -S lnmp
lnmp PS 2021-12-24 0 99999 7 -1 (Password set, SHA512 crypt.)
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# passwd -u lnmp
Unlocking password for user lnmp.
passwd: Success
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# su - lnmp
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ mysqld --initialize
2021-12-24 11:33:16 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2021-12-24 11:33:16 0 [Warning] Can't create test file /var/lib/mysql/BaiYang-PC.lower-test
2021-12-24 11:33:16 0 [Note] mysqld (mysqld 5.6.51) starting as process 206 ...
2021-12-24 11:33:16 206 [Warning] Can't create test file /var/lib/mysql/BaiYang-PC.lower-test
2021-12-24 11:33:16 206 [Warning] Can't create test file /var/lib/mysql/BaiYang-PC.lower-test
2021-12-24 11:33:16 206 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000)

2021-12-24 11:33:16 206 [Warning] Buffered warning: Changed limits: table_open_cache: 431 (requested 2000)

2021-12-24 11:33:16 206 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
2021-12-24 11:33:16 206 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2021-12-24 11:33:16 206 [Note] InnoDB: Using atomics to ref count buffer pool pages
2021-12-24 11:33:16 206 [Note] InnoDB: The InnoDB memory heap is disabled
2021-12-24 11:33:16 206 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-12-24 11:33:16 206 [Note] InnoDB: Memory barrier is not used
2021-12-24 11:33:16 206 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-12-24 11:33:16 206 [Note] InnoDB: Using Linux native AIO
2021-12-24 11:33:16 206 [Note] InnoDB: Using CPU crc32 instructions
2021-12-24 11:33:16 206 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2021-12-24 11:33:16 206 [Note] InnoDB: Completed initialization of buffer pool
2021-12-24 11:33:16 7f354a99e780  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
2021-12-24 11:33:16 7f354a99e780  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
2021-12-24 11:33:16 206 [ERROR] InnoDB: Creating or opening ./ibdata1 failed!
2021-12-24 11:33:16 206 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2021-12-24 11:33:16 206 [ERROR] Plugin 'InnoDB' init function returned error.
2021-12-24 11:33:16 206 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-12-24 11:33:16 206 [ERROR] mysqld: unknown option '--initialize'
2021-12-24 11:33:16 206 [ERROR] Aborting

2021-12-24 11:33:16 206 [Note] Binlog end
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'partition'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_METRICS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_CMPMEM'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_CMP'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_LOCKS'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'INNODB_TRX'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'BLACKHOLE'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'ARCHIVE'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'MRG_MYISAM'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'MyISAM'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'MEMORY'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'CSV'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'sha256_password'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'mysql_old_password'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'mysql_native_password'
2021-12-24 11:33:16 206 [Note] Shutting down plugin 'binlog'
2021-12-24 11:33:16 206 [Note] mysqld: Shutdown complete

[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ newgrp mysql
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ mysqld --initialize --explicit_defaults_for_timestamp
2021-12-24 11:36:26 0 [Warning] Can't create test file /var/lib/mysql/BaiYang-PC.lower-test
2021-12-24 11:36:26 0 [Note] mysqld (mysqld 5.6.51) starting as process 234 ...
2021-12-24 11:36:26 234 [Warning] Can't create test file /var/lib/mysql/BaiYang-PC.lower-test
2021-12-24 11:36:26 234 [Warning] Can't create test file /var/lib/mysql/BaiYang-PC.lower-test
2021-12-24 11:36:26 234 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000)

2021-12-24 11:36:26 234 [Warning] Buffered warning: Changed limits: table_open_cache: 431 (requested 2000)

2021-12-24 11:36:26 234 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
2021-12-24 11:36:26 234 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2021-12-24 11:36:26 234 [Note] InnoDB: Using atomics to ref count buffer pool pages
2021-12-24 11:36:26 234 [Note] InnoDB: The InnoDB memory heap is disabled
2021-12-24 11:36:26 234 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-12-24 11:36:26 234 [Note] InnoDB: Memory barrier is not used
2021-12-24 11:36:26 234 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-12-24 11:36:26 234 [Note] InnoDB: Using Linux native AIO
2021-12-24 11:36:26 234 [Note] InnoDB: Using CPU crc32 instructions
2021-12-24 11:36:26 234 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2021-12-24 11:36:26 234 [Note] InnoDB: Completed initialization of buffer pool
2021-12-24 11:36:26 7febf8711780  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
2021-12-24 11:36:26 7febf8711780  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
2021-12-24 11:36:26 234 [ERROR] InnoDB: Creating or opening ./ibdata1 failed!
2021-12-24 11:36:26 234 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
2021-12-24 11:36:26 234 [ERROR] Plugin 'InnoDB' init function returned error.
2021-12-24 11:36:26 234 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-12-24 11:36:26 234 [ERROR] mysqld: unknown option '--initialize'
2021-12-24 11:36:26 234 [ERROR] Aborting

2021-12-24 11:36:26 234 [Note] Binlog end
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'partition'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_METRICS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_CMPMEM'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_CMP'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_LOCKS'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'INNODB_TRX'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'BLACKHOLE'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'ARCHIVE'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'MRG_MYISAM'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'MyISAM'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'MEMORY'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'CSV'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'sha256_password'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'mysql_old_password'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'mysql_native_password'
2021-12-24 11:36:26 234 [Note] Shutting down plugin 'binlog'
2021-12-24 11:36:26 234 [Note] mysqld: Shutdown complete

[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ ls -l /var/lib
total 68
drwxr-xr-x 2 root   root   4096 Dec 14 15:32 alternatives
drwx------ 2 apache apache 4096 Nov 17  2020 dav
drwxr-xr-x 2 root   root   4096 Mar 14  2019 dbus
drwxr-xr-x 2 root   root   4096 Apr 11  2018 games
drwxr-xr-x 2 root   root   4096 Apr  1  2020 initramfs
drwx------ 2 root   root   4096 May  5  2020 machines
drwxr-xr-x 2 root   root   4096 Apr 11  2018 misc
drwxr-xr-x 2 mysql  mysql  4096 Dec 24 11:06 mysql
drwxr-x--- 2 mysql  mysql  4096 Jan  5  2021 mysql-files
drwxr-xr-x 3 root   root   4096 Dec 23 15:37 pear
drwxr-xr-x 5 root   root   4096 Dec 15 15:47 php
drwxr-xr-x 2 root   root   4096 May  5  2020 rpm
drwxr-xr-x 2 root   root   4096 Apr 11  2018 rpm-state
drwxr-xr-x 2 root   root   4096 Apr  1  2020 selinux
drwxr-xr-x 4 root   root   4096 Feb  3  2021 systemd
drwx------ 2 tss    tss    4096 Aug  4  2017 tpm
drwxr-xr-x 6 root   root   4096 Dec 24 10:58 yum
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ chmod 775 /var/lib/mysql
chmod: changing permissions of '/var/lib/mysql': Operation not permitted
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ sudo chmod 775 /var/lib/mysql
bash: sudo: command not found
[lnmp@BaiYang-PC ~]$ su - root -c chmod 775 /var/lib/mysql
Password:
su: Authentication failure
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ su - root -c chmod 775 /var/lib/mysql
Password:
su: Authentication failure
[lnmp@BaiYang-PC ~]$ su - root -c chmod 775 /var/lib/mysql
Password:
su: Authentication failure
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ su - -c "chmod 775 /var/lib/mysql"
Password:
su: Authentication failure
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ su - -c "chmod 775 /var/lib/mysql"
Password:
su: Authentication failure
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ su - -c "chmod 775 /var/lib/mysql"
Password:
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ ls -l /var/lib/mysql
total 0
[lnmp@BaiYang-PC ~]$ ls -l /var/lib
total 68
drwxr-xr-x 2 root   root   4096 Dec 14 15:32 alternatives
drwx------ 2 apache apache 4096 Nov 17  2020 dav
drwxr-xr-x 2 root   root   4096 Mar 14  2019 dbus
drwxr-xr-x 2 root   root   4096 Apr 11  2018 games
drwxr-xr-x 2 root   root   4096 Apr  1  2020 initramfs
drwx------ 2 root   root   4096 May  5  2020 machines
drwxr-xr-x 2 root   root   4096 Apr 11  2018 misc
drwxrwxr-x 2 mysql  mysql  4096 Dec 24 11:06 mysql
drwxr-x--- 2 mysql  mysql  4096 Jan  5  2021 mysql-files
drwxr-xr-x 3 root   root   4096 Dec 23 15:37 pear
drwxr-xr-x 5 root   root   4096 Dec 15 15:47 php
drwxr-xr-x 2 root   root   4096 May  5  2020 rpm
drwxr-xr-x 2 root   root   4096 Apr 11  2018 rpm-state
drwxr-xr-x 2 root   root   4096 Apr  1  2020 selinux
drwxr-xr-x 4 root   root   4096 Feb  3  2021 systemd
drwx------ 2 tss    tss    4096 Aug  4  2017 tpm
drwxr-xr-x 6 root   root   4096 Dec 24 10:58 yum
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ mysqld --initialize --explicit_defaults_for_timestamp
2021-12-24 12:01:25 0 [Note] mysqld (mysqld 5.6.51) starting as process 301 ...
2021-12-24 12:01:25 301 [Warning] Buffered warning: Changed limits: max_open_files: 1024 (requested 5000)

2021-12-24 12:01:25 301 [Warning] Buffered warning: Changed limits: table_open_cache: 431 (requested 2000)

2021-12-24 12:01:25 301 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
2021-12-24 12:01:25 301 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2021-12-24 12:01:25 301 [Note] InnoDB: Using atomics to ref count buffer pool pages
2021-12-24 12:01:25 301 [Note] InnoDB: The InnoDB memory heap is disabled
2021-12-24 12:01:25 301 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2021-12-24 12:01:25 301 [Note] InnoDB: Memory barrier is not used
2021-12-24 12:01:25 301 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-12-24 12:01:25 301 [Note] InnoDB: Using Linux native AIO
2021-12-24 12:01:25 301 [Note] InnoDB: Using CPU crc32 instructions
2021-12-24 12:01:25 301 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2021-12-24 12:01:25 301 [Note] InnoDB: Completed initialization of buffer pool
2021-12-24 12:01:25 301 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
2021-12-24 12:01:25 301 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
2021-12-24 12:01:25 301 [Note] InnoDB: Database physically writes the file full: wait...
2021-12-24 12:01:25 301 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB
2021-12-24 12:01:25 301 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB
2021-12-24 12:01:26 301 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2021-12-24 12:01:26 301 [Warning] InnoDB: New log files created, LSN=45781
2021-12-24 12:01:26 301 [Note] InnoDB: Doublewrite buffer not found: creating new
2021-12-24 12:01:26 301 [Note] InnoDB: Doublewrite buffer created
2021-12-24 12:01:26 301 [Note] InnoDB: 128 rollback segment(s) are active.
2021-12-24 12:01:26 301 [Warning] InnoDB: Creating foreign key constraint system tables.
2021-12-24 12:01:26 301 [Note] InnoDB: Foreign key constraint system tables created
2021-12-24 12:01:26 301 [Note] InnoDB: Creating tablespace and datafile system tables.
2021-12-24 12:01:26 301 [Note] InnoDB: Tablespace and datafile system tables created.
2021-12-24 12:01:26 301 [Note] InnoDB: Waiting for purge to start
2021-12-24 12:01:26 301 [Note] InnoDB: 5.6.51 started; log sequence number 0
2021-12-24 12:01:26 301 [ERROR] mysqld: unknown option '--initialize'
2021-12-24 12:01:26 301 [ERROR] Aborting

2021-12-24 12:01:26 301 [Note] Binlog end
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'partition'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_METRICS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_CMPMEM'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_CMP'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_LOCKS'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'INNODB_TRX'
2021-12-24 12:01:26 301 [Note] Shutting down plugin 'InnoDB'
2021-12-24 12:01:26 301 [Note] InnoDB: FTS optimize thread exiting.
2021-12-24 12:01:26 301 [Note] InnoDB: Starting shutdown...
2021-12-24 12:01:28 301 [Note] InnoDB: Shutdown completed; log sequence number 1600607
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'BLACKHOLE'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'ARCHIVE'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'MRG_MYISAM'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'MyISAM'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'MEMORY'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'CSV'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'sha256_password'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'mysql_old_password'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'mysql_native_password'
2021-12-24 12:01:28 301 [Note] Shutting down plugin 'binlog'
2021-12-24 12:01:28 301 [Note] mysqld: Shutdown complete

[lnmp@BaiYang-PC ~]$

MySQL卸载

上面安装启动不如意,卸载了:

[lnmp@BaiYang-PC ~]$ systemctl start mysqld
Failed to get D-Bus connection: Operation not permitted
[lnmp@BaiYang-PC ~]$ su - -c "systemctl start mysqld"
Password:
Failed to get D-Bus connection: Operation not permitted
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ systemctl -v
systemctl: invalid option -- 'v'
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ systemctl -h
systemctl [OPTIONS...] {COMMAND} ...

Query or send control commands to the systemd manager.

  -h --help           Show this help
     --version        Show package version
     --system         Connect to system manager
  -H --host=[USER@]HOST
                      Operate on remote host
  -M --machine=CONTAINER
                      Operate on local container
  -t --type=TYPE      List units of a particular type
     --state=STATE    List units with particular LOAD or SUB or ACTIVE state
  -p --property=NAME  Show only properties by this name
  -a --all            Show all loaded units/properties, including dead/empty
                      ones. To list all units installed on the system, use
                      the 'list-unit-files' command instead.
  -l --full           Don't ellipsize unit names on output
  -r --recursive      Show unit list of host and local containers
     --reverse        Show reverse dependencies with 'list-dependencies'
     --job-mode=MODE  Specify how to deal with already queued jobs, when
                      queueing a new job
     --show-types     When showing sockets, explicitly show their type
  -i --ignore-inhibitors
                      When shutting down or sleeping, ignore inhibitors
     --kill-who=WHO   Who to send signal to
  -s --signal=SIGNAL  Which signal to send
     --now            Start or stop unit in addition to enabling or disabling it
  -q --quiet          Suppress output

[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ mysqladmin --version
mysqladmin  Ver 8.42 Distrib 5.6.51, for Linux on x86_64
[lnmp@BaiYang-PC ~]$
[lnmp@BaiYang-PC ~]$ exit
logout
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum unstall mysql-server
Loaded plugins: fastestmirror, ovl
No such command: unstall. Please use /usr/bin/yum --help
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum list installed
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
Installed Packages
acl.x86_64                       2.2.51-15.el7          @CentOS
apr.x86_64                       1.4.8-7.el7            @base
apr-util.x86_64                  1.5.2-6.el7            @base
audit-libs.x86_64                2.8.5-4.el7            @CentOS
audit-libs-python.x86_64         2.8.5-4.el7            @base
basesystem.noarch                10.0-7.el7.centos      @CentOS
bash.x86_64                      4.2.46-34.el7          @CentOS
bind-license.noarch              32:9.11.4-16.P2.el7    @CentOS
binutils.x86_64                  2.27-43.base.el7       @CentOS
bzip2-libs.x86_64                1.0.6-13.el7           @CentOS
ca-certificates.noarch           2019.2.32-76.el7_7     @CentOS
centos-logos.noarch              70.0.6-3.el7.centos    @base
centos-release.x86_64            7-8.2003.0.el7.centos  @CentOS
checkpolicy.x86_64               2.5-8.el7              @base
chkconfig.x86_64                 1.7.4-1.el7            @CentOS
coreutils.x86_64                 8.22-24.el7            @CentOS
cpio.x86_64                      2.11-27.el7            @CentOS
cpp.x86_64                       4.8.5-44.el7           @base
cracklib.x86_64                  2.9.0-11.el7           @CentOS
cracklib-dicts.x86_64            2.9.0-11.el7           @CentOS
cryptsetup-libs.x86_64           2.0.3-6.el7            @CentOS
curl.x86_64                      7.29.0-57.el7          @CentOS
cyrus-sasl-lib.x86_64            2.1.26-23.el7          @CentOS
dbus.x86_64                      1:1.10.24-13.el7_6     @CentOS
dbus-glib.x86_64                 0.100-7.el7            @CentOS
dbus-libs.x86_64                 1:1.10.24-13.el7_6     @CentOS
dbus-python.x86_64               1.1.1-9.el7            @CentOS
dejavu-fonts-common.noarch       2.33-6.el7             @base
dejavu-sans-fonts.noarch         2.33-6.el7             @base
device-mapper.x86_64             7:1.02.164-7.el7       @CentOS
device-mapper-libs.x86_64        7:1.02.164-7.el7       @CentOS
diffutils.x86_64                 3.3-5.el7              @CentOS
dracut.x86_64                    033-568.el7            @CentOS
elfutils-default-yama-scope.noarch   0.176-4.el7            @CentOS
elfutils-libelf.x86_64           0.176-4.el7            @CentOS
elfutils-libs.x86_64             0.176-4.el7            @CentOS
environment-modules.x86_64       3.2.10-10.el7          @base
epel-release.noarch              7-11                   @extras
expat.x86_64                     2.1.0-11.el7           @CentOS
file-libs.x86_64                 5.11-36.el7            @CentOS
filesystem.x86_64                3.2-25.el7             @CentOS
findutils.x86_64                 1:4.5.11-6.el7         @CentOS
fipscheck.x86_64                 1.4.1-6.el7            @base
fipscheck-lib.x86_64             1.4.1-6.el7            @base
fontconfig.x86_64                2.13.0-4.3.el7         @base
fontpackages-filesystem.noarch   1.44-8.el7             @base
freetype.x86_64                  2.8-14.el7_9.1         @updates
fribidi.x86_64                   1.0.2-1.el7_7.1        @base
gawk.x86_64                      4.0.2-4.el7_3.1        @CentOS
gcc.x86_64                       4.8.5-44.el7           @base
gcc-c++.x86_64                   4.8.5-44.el7           @base
gd-last.x86_64                   2.3.2-1.el7.remi       @remi-safe
gd3php.x86_64                    2.3.3-4.el7.remi       @remi-safe
gdbm.x86_64                      1.10-8.el7             @CentOS
geoipupdate.x86_64               2.5.0-1.el7            @CentOS
git.x86_64                       1.8.3.1-23.el7_8       @base
glib2.x86_64                     2.56.1-5.el7           @CentOS
glibc.x86_64                     2.17-325.el7_9         @updates
glibc-common.x86_64              2.17-325.el7_9         @updates
glibc-devel.x86_64               2.17-325.el7_9         @updates
glibc-headers.x86_64             2.17-325.el7_9         @updates
gmp.x86_64                       1:6.0.0-15.el7         @CentOS
gnupg2.x86_64                    2.0.22-5.el7_5         @CentOS
gnutls.x86_64                    3.3.29-9.el7_6         @base
gobject-introspection.x86_64     1.56.1-1.el7           @CentOS
golang.x86_64                    1.15.14-1.el7          @epel
golang-bin.x86_64                1.15.14-1.el7          @epel
golang-src.noarch                1.15.14-1.el7          @epel
gpgme.x86_64                     1.3.2-5.el7            @CentOS
graphite2.x86_64                 1.3.10-1.el7_3         @base
grep.x86_64                      2.20-3.el7             @CentOS
groff-base.x86_64                1.22.2-8.el7           @base
gzip.x86_64                      1.5-10.el7             @CentOS
hardlink.x86_64                  1:1.0-19.el7           @CentOS
harfbuzz.x86_64                  1.7.5-2.el7            @base
hostname.x86_64                  3.13-3.el7_7.1         @CentOS
httpd.x86_64                     2.4.6-97.el7.centos    @updates
httpd-tools.x86_64               2.4.6-97.el7.centos    @updates
info.x86_64                      5.1-5.el7              @CentOS
iputils.x86_64                   20160308-10.el7        @CentOS
jbigkit-libs.x86_64              2.0-11.el7             @base
json-c.x86_64                    0.11-4.el7_0           @CentOS
kernel-headers.x86_64            3.10.0-1160.49.1.el7   @updates
keyutils-libs.x86_64             1.5.8-3.el7            @CentOS
kmod.x86_64                      20-28.el7              @CentOS
kmod-libs.x86_64                 20-28.el7              @CentOS
kpartx.x86_64                    0.4.9-131.el7          @CentOS
krb5-libs.x86_64                 1.15.1-46.el7          @CentOS
less.x86_64                      458-9.el7              @base
libX11.x86_64                    1.6.7-4.el7_9          @updates
libX11-common.noarch             1.6.7-4.el7_9          @updates
libXau.x86_64                    1.0.8-2.1.el7          @base
libXpm.x86_64                    3.5.12-1.el7           @base
libacl.x86_64                    2.2.51-15.el7          @CentOS
libaio.x86_64                    0.3.109-13.el7         @base
libassuan.x86_64                 2.1.0-3.el7            @CentOS
libattr.x86_64                   2.4.46-13.el7          @CentOS
libblkid.x86_64                  2.23.2-63.el7          @CentOS
libcap.x86_64                    2.22-11.el7            @CentOS
libcap-ng.x86_64                 0.7.5-4.el7            @CentOS
libcgroup.x86_64                 0.41-21.el7            @base
libcom_err.x86_64                1.42.9-17.el7          @CentOS
libcurl.x86_64                   7.29.0-57.el7          @CentOS
libdb.x86_64                     5.3.21-25.el7          @CentOS
libdb-utils.x86_64               5.3.21-25.el7          @CentOS
libedit.x86_64                   3.0-12.20121213cvs.el7  @base
libffi.x86_64                    3.0.13-19.el7          @CentOS
libgcc.x86_64                    4.8.5-44.el7           @base
libgcrypt.x86_64                 1.5.3-14.el7           @CentOS
libgomp.x86_64                   4.8.5-44.el7           @base
libgpg-error.x86_64              1.12-3.el7             @CentOS
libidn.x86_64                    1.28-4.el7             @CentOS
libjpeg-turbo.x86_64             1.2.90-8.el7           @base
libmcrypt.x86_64                 2.5.8-13.el7           @epel
libmodman.x86_64                 2.0.1-8.el7            @base
libmount.x86_64                  2.23.2-63.el7          @CentOS
libmpc.x86_64                    1.0.1-3.el7            @base
libpng.x86_64                    2:1.5.13-8.el7         @base
libproxy.x86_64                  0.4.11-11.el7          @base
libpwquality.x86_64              1.2.3-5.el7            @CentOS
libraqm.x86_64                   0.7.0-4.el7            @epel
libselinux.x86_64                2.5-15.el7             @CentOS
libselinux-python.x86_64         2.5-15.el7             @base
libselinux-utils.x86_64          2.5-15.el7             @base
libsemanage.x86_64               2.5-14.el7             @CentOS
libsemanage-python.x86_64        2.5-14.el7             @base
libsepol.x86_64                  2.5-10.el7             @CentOS
libsmartcols.x86_64              2.23.2-63.el7          @CentOS
libsodium.x86_64                 1.0.18-1.el7           @epel
libssh2.x86_64                   1.8.0-3.el7            @CentOS
libstdc++.x86_64                 4.8.5-44.el7           @base
libstdc++-devel.x86_64           4.8.5-44.el7           @base
libtasn1.x86_64                  4.10-1.el7             @CentOS
libtiff.x86_64                   4.0.3-35.el7           @base
libuser.x86_64                   0.60-9.el7             @CentOS
libutempter.x86_64               1.1.6-4.el7            @CentOS
libuuid.x86_64                   2.23.2-63.el7          @CentOS
libverto.x86_64                  0.2.5-4.el7            @CentOS
libwebp7.x86_64                  1.0.3-1.el7.remi       @remi-safe
libxcb.x86_64                    1.13-1.el7             @base
libxml2.x86_64                   2.9.1-6.el7.4          @CentOS
libxml2-python.x86_64            2.9.1-6.el7.4          @CentOS
libxslt.x86_64                   1.1.28-6.el7           @base
libzip5.x86_64                   1.8.0-2.el7.remi       @remi-safe
libzstd.x86_64                   1.5.0-1.el7            @epel
lua.x86_64                       5.1.4-15.el7           @CentOS
lz4.x86_64                       1.7.5-3.el7            @CentOS
mailcap.noarch                   2.1.41-2.el7           @base
make.x86_64                      1:3.82-24.el7          @base
mercurial.x86_64                 2.6.2-11.el7           @base
mpfr.x86_64                      3.1.1-4.el7            @base
mysql-community-client.x86_64    5.6.51-2.el7           @mysql56-community
mysql-community-common.x86_64    5.6.51-2.el7           @mysql56-community
mysql-community-libs.x86_64      5.6.51-2.el7           @mysql56-community
mysql-community-release.noarch   el7-5                  installed
mysql-community-server.x86_64    5.6.51-2.el7           @mysql56-community
ncurses.x86_64                   5.9-14.20130511.el7_4     @CentOS
ncurses-base.noarch              5.9-14.20130511.el7_4     @CentOS
ncurses-libs.x86_64              5.9-14.20130511.el7_4     @CentOS
neon.x86_64                      0.30.0-4.el7           @base
net-tools.x86_64                 2.0-0.25.20131004git.el7  @base
nettle.x86_64                    2.7.1-9.el7_9          @updates
nginx.x86_64                     1:1.20.1-1.el7.ngx     @nginx-stable
nspr.x86_64                      4.21.0-1.el7           @CentOS
nss.x86_64                       3.44.0-7.el7_7         @CentOS
nss-pem.x86_64                   1.0.3-7.el7            @CentOS
nss-softokn.x86_64               3.44.0-8.el7_7         @CentOS
nss-softokn-freebl.x86_64        3.44.0-8.el7_7         @CentOS
nss-sysinit.x86_64               3.44.0-7.el7_7         @CentOS
nss-tools.x86_64                 3.44.0-7.el7_7         @CentOS
nss-util.x86_64                  3.44.0-4.el7_7         @CentOS
numactl-libs.x86_64              2.0.12-5.el7           @base
oniguruma5php.x86_64             6.9.7.1-1.el7.remi     @remi-safe
openldap.x86_64                  2.4.44-21.el7_6        @CentOS
openssh.x86_64                   7.4p1-22.el7_9         @updates
openssh-clients.x86_64           7.4p1-22.el7_9         @updates
openssl.x86_64                   1:1.0.2k-21.el7_9      @updates
openssl-libs.x86_64              1:1.0.2k-21.el7_9      @updates
p11-kit.x86_64                   0.23.5-3.el7           @CentOS
p11-kit-trust.x86_64             0.23.5-3.el7           @CentOS
pakchois.x86_64                  0.4-10.el7             @base
pam.x86_64                       1.1.8-23.el7           @CentOS
passwd.x86_64                    0.79-6.el7             @CentOS
pcre.x86_64                      8.32-17.el7            @CentOS
perl.x86_64                      4:5.16.3-299.el7_9     @updates
perl-Carp.noarch                 1.26-244.el7           @base
perl-Compress-Raw-Bzip2.x86_64   2.061-3.el7            @base
perl-Compress-Raw-Zlib.x86_64    1:2.061-4.el7          @base
perl-DBI.x86_64                  1.627-4.el7            @base
perl-Data-Dumper.x86_64          2.145-3.el7            @base
perl-Encode.x86_64               2.51-7.el7             @base
perl-Error.noarch                1:0.17020-2.el7        @base
perl-Exporter.noarch             5.68-3.el7             @base
perl-File-Path.noarch            2.09-2.el7             @base
perl-File-Temp.noarch            0.23.01-3.el7          @base
perl-Filter.x86_64               1.49-3.el7             @base
perl-Getopt-Long.noarch          2.40-3.el7             @base
perl-Git.noarch                  1.8.3.1-23.el7_8       @base
perl-HTTP-Tiny.noarch            0.033-3.el7            @base
perl-IO-Compress.noarch          2.061-2.el7            @base
perl-Net-Daemon.noarch           0.48-5.el7             @base
perl-PathTools.x86_64            3.40-5.el7             @base
perl-PlRPC.noarch                0.2020-14.el7          @base
perl-Pod-Escapes.noarch          1:1.04-299.el7_9       @updates
perl-Pod-Perldoc.noarch          3.20-4.el7             @base
perl-Pod-Simple.noarch           1:3.28-4.el7           @base
perl-Pod-Usage.noarch            1.63-3.el7             @base
perl-Scalar-List-Utils.x86_64    1.27-248.el7           @base
perl-Socket.x86_64               2.010-5.el7            @base
perl-Storable.x86_64             2.45-3.el7             @base
perl-TermReadKey.x86_64          2.30-20.el7            @base
perl-Text-ParseWords.noarch      3.29-4.el7             @base
perl-Time-HiRes.x86_64           4:1.9725-3.el7         @base
perl-Time-Local.noarch           1.2300-2.el7           @base
perl-constant.noarch             1.27-2.el7             @base
perl-libs.x86_64                 4:5.16.3-299.el7_9     @updates
perl-macros.x86_64               4:5.16.3-299.el7_9     @updates
perl-parent.noarch               1:0.225-244.el7        @base
perl-podlators.noarch            2.5.1-3.el7            @base
perl-threads.x86_64              1.87-4.el7             @base
perl-threads-shared.x86_64       1.43-6.el7             @base
php.x86_64                       7.4.27-1.el7.remi      @remi-php74
php-bcmath.x86_64                7.4.27-1.el7.remi      @remi-php74
php-cli.x86_64                   7.4.27-1.el7.remi      @remi-php74
php-common.x86_64                7.4.27-1.el7.remi      @remi-php74
php-fpm.x86_64                   7.4.27-1.el7.remi      @remi-php74
php-gd.x86_64                    7.4.27-1.el7.remi      @remi-php74
php-json.x86_64                  7.4.27-1.el7.remi      @remi-php74
php-mbstring.x86_64              7.4.27-1.el7.remi      @remi-php74
php-mysqlnd.x86_64               7.4.27-1.el7.remi      @remi-php74
php-opcache.x86_64               7.4.27-1.el7.remi      @remi-php74
php-pdo.x86_64                   7.4.27-1.el7.remi      @remi-php74
php-pecl-mcrypt.x86_64           1.0.4-1.el7.remi.7.4   @remi-php74
php-pecl-zip.x86_64              1.20.0-1.el7.remi.7.4  @remi-php74
php-sodium.x86_64                7.4.27-1.el7.remi      @remi-php74
php-xml.x86_64                   7.4.27-1.el7.remi      @remi-php74
php74-php-bcmath.x86_64          7.4.23-1.el7.remi      @remi-safe
php74-php-cli.x86_64             7.4.23-1.el7.remi      @remi-safe
php74-php-common.x86_64          7.4.23-1.el7.remi      @remi-safe
php74-php-fpm.x86_64             7.4.23-1.el7.remi      @remi-safe
php74-php-gd.x86_64              7.4.23-1.el7.remi      @remi-safe
php74-php-json.x86_64            7.4.23-1.el7.remi      @remi-safe
php74-php-mbstring.x86_64        7.4.23-1.el7.remi      @remi-safe
php74-php-mysqlnd.x86_64         7.4.23-1.el7.remi      @remi-safe
php74-php-opcache.x86_64         7.4.23-1.el7.remi      @remi-safe
php74-php-pdo.x86_64             7.4.23-1.el7.remi      @remi-safe
php74-php-pecl-mcrypt.x86_64     1.0.4-1.el7.remi       @remi-safe
php74-php-pecl-zip.x86_64        1.19.3-2.el7.remi      @remi-safe
php74-php-xml.x86_64             7.4.23-1.el7.remi      @remi-safe
php74-runtime.x86_64             1.0-3.el7.remi         @remi-safe
pinentry.x86_64                  0.8.1-17.el7           @CentOS
pkgconfig.x86_64                 1:0.27.1-4.el7         @CentOS
policycoreutils.x86_64           2.5-34.el7             @base
policycoreutils-python.x86_64    2.5-34.el7             @base
popt.x86_64                      1.13-16.el7            @CentOS
procps-ng.x86_64                 3.3.10-27.el7          @CentOS
pth.x86_64                       2.0.7-23.el7           @CentOS
pygpgme.x86_64                   0.3-9.el7              @CentOS
pyliblzma.x86_64                 0.5.3-11.el7           @CentOS
python.x86_64                    2.7.5-88.el7           @CentOS
python-IPy.noarch                0.75-6.el7             @base
python-chardet.noarch            2.2.1-3.el7            @CentOS
python-gobject-base.x86_64       3.22.0-1.el7_4.1       @CentOS
python-iniparse.noarch           0.4-9.el7              @CentOS
python-kitchen.noarch            1.1.1-5.el7            @CentOS
python-libs.x86_64               2.7.5-88.el7           @CentOS
python-pycurl.x86_64             7.19.0-19.el7          @CentOS
python-urlgrabber.noarch         3.10-10.el7            @CentOS
pyxattr.x86_64                   0.5.1-5.el7            @CentOS
qrencode-libs.x86_64             3.4.1-3.el7            @CentOS
readline.x86_64                  6.2-11.el7             @CentOS
remi-release.noarch              7.9-1.el7.remi         installed
rootfiles.noarch                 8.1-11.el7             @CentOS
rpm.x86_64                       4.11.3-43.el7          @CentOS
rpm-build-libs.x86_64            4.11.3-43.el7          @CentOS
rpm-libs.x86_64                  4.11.3-43.el7          @CentOS
rpm-python.x86_64                4.11.3-43.el7          @CentOS
rsync.x86_64                     3.1.2-10.el7           @base
scl-utils.x86_64                 20130529-19.el7        @base
sed.x86_64                       4.2.2-6.el7            @CentOS
setools-libs.x86_64              3.3.8-4.el7            @base
setup.noarch                     2.8.71-11.el7          @CentOS
shadow-utils.x86_64              2:4.6-5.el7            @CentOS
shared-mime-info.x86_64          1.8-5.el7              @CentOS
sqlite.x86_64                    3.7.17-8.el7_7.1       @CentOS
subversion.x86_64                1.7.14-16.el7          @base
subversion-libs.x86_64           1.7.14-16.el7          @base
systemd.x86_64                   219-78.el7_9.3         @updates
systemd-libs.x86_64              219-78.el7_9.3         @updates
systemd-sysv.x86_64              219-78.el7_9.3         @updates
tar.x86_64                       2:1.26-35.el7          @CentOS
tcl.x86_64                       1:8.5.13-8.el7         @base
trousers.x86_64                  0.3.14-2.el7           @base
tzdata.noarch                    2019c-1.el7            @CentOS
unzip.x86_64                     6.0-22.el7_9           @updates
ustr.x86_64                      1.0.4-16.el7           @CentOS
util-linux.x86_64                2.23.2-63.el7          @CentOS
vim-minimal.x86_64               2:7.4.629-6.el7        @CentOS
wget.x86_64                      1.14-18.el7_6.1        @base
xz.x86_64                        5.2.2-1.el7            @CentOS
xz-libs.x86_64                   5.2.2-1.el7            @CentOS
yum.noarch                       3.4.3-167.el7.centos   @CentOS
yum-metadata-parser.x86_64       1.1.4-10.el7           @CentOS
yum-plugin-fastestmirror.noarch  1.1.31-53.el7          @CentOS
yum-plugin-ovl.noarch            1.1.31-53.el7          @CentOS
yum-utils.noarch                 1.1.31-54.el7_8        @base
zlib.x86_64                      1.2.7-18.el7           @CentOS
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum list mysql
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
Error: No matching Packages to list
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum list mysql-server
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
Error: No matching Packages to list
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum deplist mysql-server
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * remi-safe: repo.extreme-ix.org
 * updates: mirrors.aliyun.com
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum list installed | grep mysql
mysql-community-client.x86_64       5.6.51-2.el7              @mysql56-community
mysql-community-common.x86_64       5.6.51-2.el7              @mysql56-community
mysql-community-libs.x86_64         5.6.51-2.el7              @mysql56-community
mysql-community-release.noarch      el7-5                     installed
mysql-community-server.x86_64       5.6.51-2.el7              @mysql56-community
php-mysqlnd.x86_64                  7.4.27-1.el7.remi         @remi-php74
php74-php-mysqlnd.x86_64            7.4.23-1.el7.remi         @remi-safe
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -qa | grep mysql
mysql-community-client-5.6.51-2.el7.x86_64
mysql-community-server-5.6.51-2.el7.x86_64
php-mysqlnd-7.4.27-1.el7.remi.x86_64
mysql-community-release-el7-5.noarch
mysql-community-common-5.6.51-2.el7.x86_64
mysql-community-libs-5.6.51-2.el7.x86_64
php74-php-mysqlnd-7.4.23-1.el7.remi.x86_64
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum remove mysql-server
Loaded plugins: fastestmirror, ovl
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.51-2.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================
 Package                  Arch         Version        Repository           Size
====================================================================================
Removing:
 mysql-community-server   x86_64      5.6.51-2.el7    @mysql56-community   268 M

Transaction Summary
====================================================================================
Remove  1 Package

Installed size: 268 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : mysql-community-server-5.6.51-2.el7.x86_64                  1/1
  Verifying  : mysql-community-server-5.6.51-2.el7.x86_64                  1/1

Removed:
  mysql-community-server.x86_64 0:5.6.51-2.el7

Complete!
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -qa | grep mysql
mysql-community-client-5.6.51-2.el7.x86_64
php-mysqlnd-7.4.27-1.el7.remi.x86_64
mysql-community-release-el7-5.noarch
mysql-community-common-5.6.51-2.el7.x86_64
mysql-community-libs-5.6.51-2.el7.x86_64
php74-php-mysqlnd-7.4.23-1.el7.remi.x86_64
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum remove mysql
Loaded plugins: fastestmirror, ovl
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.6.51-2.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                       Arch        Version         Repository          Size
=======================================================================================
Removing:
 mysql-community-client        x86_64      5.6.51-2.el7    @mysql56-community  83 M

Transaction Summary
=======================================================================================
Remove  1 Package

Installed size: 83 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : mysql-community-client-5.6.51-2.el7.x86_64                  1/1
  Verifying  : mysql-community-client-5.6.51-2.el7.x86_64                  1/1

Removed:
  mysql-community-client.x86_64 0:5.6.51-2.el7

Complete!
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -qa | grep mysql
php-mysqlnd-7.4.27-1.el7.remi.x86_64
mysql-community-release-el7-5.noarch
mysql-community-common-5.6.51-2.el7.x86_64
mysql-community-libs-5.6.51-2.el7.x86_64
php74-php-mysqlnd-7.4.23-1.el7.remi.x86_64
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# yum remove mysql
Loaded plugins: fastestmirror, ovl
No Match for argument: mysql
No Packages marked for removal
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# mysqladmin --version
-bash: /usr/bin/mysqladmin: No such file or directory
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -e mysql-community-release-el7-5.noarch
[root@BaiYang-PC src]# rpm -qa | grep mysql
php-mysqlnd-7.4.27-1.el7.remi.x86_64
mysql-community-common-5.6.51-2.el7.x86_64
mysql-community-libs-5.6.51-2.el7.x86_64
php74-php-mysqlnd-7.4.23-1.el7.remi.x86_64
[root@BaiYang-PC src]# rpm -e mysql-community-release-el7-5.noarch.rpm
error: package mysql-community-release-el7-5.noarch.rpm is not installed
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -e mysql-community-common
error: Failed dependencies:
        mysql-community-common(x86-64) >= 5.6.10 is needed by (installed) mysql-community-libs-5.6.51-2.el7.x86_64
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -e mysql-community-libs
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -qa | grep mysql
php-mysqlnd-7.4.27-1.el7.remi.x86_64
mysql-community-common-5.6.51-2.el7.x86_64
php74-php-mysqlnd-7.4.23-1.el7.remi.x86_64
[root@BaiYang-PC src]# rpm -e mysql-community-common
[root@BaiYang-PC src]#
[root@BaiYang-PC src]# rpm -qa | grep mysql
php-mysqlnd-7.4.27-1.el7.remi.x86_64
php74-php-mysqlnd-7.4.23-1.el7.remi.x86_64
[root@BaiYang-PC src]#






参考资料

适用于 Linux 的 Windows 子系统安装指南 (Windows 10) https://docs.microsoft.com/zh-cn/windows/wsl/install-win10

Windows Terminal + WSL2 + CENTOS 配置Windows命令终端 https://zhuanlan.zhihu.com/p/347461016

我们如何透过软件包(Chocolatey)优雅地在Windows安装软件? https://post.smzdm.com/p/akmv9x44/

Windows下Chocolatey上手教程 https://www.jianshu.com/p/5325decea0d2

LxRunOffline 使用教程 - WSL 自定义安装、备份 https://p3terx.com/archives/manage-wsl-with-lxrunoffline.html

composer 安装 https://getcomposer.org/download/

首页 文档 Yii 2.0 权威指南 入门(Getting Started): 安装 Yii(Installing Yii) https://www.yiichina.com/doc/guide/2.0/start-installation

Runoob MySQL 教程 MySQL 安装 https://www.runoob.com/mysql/mysql-install.html

Runoob 教程 Linux 用户和用户组管理 https://www.runoob.com/linux/linux-user-manage.html

Runoob 教程 MySQL 编译安装配置 https://www.runoob.com/linux/mysql-install-setup.html

linux下安装nginx(yum方式),并配置成系统服务 https://blog.csdn.net/weixin_34418883/article/details/91640744

CentOS7 Nginx源码编译安装 & systemd注册服务 & 添加环境变量 https://blog.csdn.net/qq_43413788/article/details/106480952

pecl swoole http://pecl.php.net/package/swoole

CentOS7.X yum安装MySQL8.0 https://zhuanlan.zhihu.com/p/60047826

WSL2子系统安装CentOS8及源码编译安装Nginx1.18+PHP7.4+MySql8.0开发 https://blog.51cto.com/u_15057852/2567230

centos7 利用yum安装mysql8.0 https://www.cnblogs.com/yichenscc/articles/10663844.html

安装systemd-genie https://www.lanmper.cn/redis/t9367.html

WSL2 中使用 systemctl 命令 https://www.isolves.com/it/qt/2020-12-10/34360.html

arkane-systems/genie https://github.com/arkane-systems/genie


返回