天天看點

centos7 安裝 php7.4 并配置workerman環境

yum install epel-release

yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum --enablerepo=remi-php74 install php-json php-xml php-zip php-mysql php-mod php-soap php-xmlrpc php-mbstring php-gd php-mcrypt php-pdo php-cli php-pecl-event php-process

其中: php-process 是posix擴充

測試安裝結果

curl -Ss http://www.workerman.net/check.php | php

參考

yum install php 7,CentOS7 yum安裝php7.3 7.4_weixin_39562752的部落格-CSDN部落格

安裝php-posix - _AfenG - 部落格園

workerman環境要求 · GitBook

yum install php 7,CentOS7 yum安裝php7.3 7.4_weixin_39562752的部落格-CSDN部落格