contos7 yum安装php7.2与swoole (2)
2021-04-18 22:29
标签:yum 编译 ext mon release openssl安装 lease evel nbsp 1、替换YUM源 2、php7.2安装 3、安装扩展 4、安装pecl 5、安装swoole(确认gcc编译器已安装,如果没有运行 yum install gcc*) 6、加入PHP扩展 7、安装中出现的问题,解决方案 openssl安装: contos7 yum安装php7.2与swoole (2) 标签:yum 编译 ext mon release openssl安装 lease evel nbsp 原文地址:https://www.cnblogs.com/benpaodegegen/p/12273284.html
yum -y install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum -y install php72w
yum -y install php72w-cli php72w-fpm php72w-common
安装成功可通过 “php -v ”查看是否安装成功
yum -y install php72w-devel
yum -y install php72w-pear
pecl install swoole
vim /etc/php.ini
最后面添加 extension=swoole.so
通过 php -m 可查看是否安装成功
https://wiki.swoole.com/wiki/page/1013.html
yum install openssl
yum install openssl-devel
文章标题:contos7 yum安装php7.2与swoole (2)
文章链接:http://soscw.com/index.php/essay/76397.html