【Linux】安装php7.4报错configure: error: Package requirements (oniguruma) were not met

问题描述

在centos7.6的环境上安装php7.4.30版本,在执行./configure命令时报错如下图:

执行./configure的命令如下:

./configure --prefix=/soft/php74 --with-config-file-path=/soft/php74/etc --with-libdir=/usr/lib64 --with-freetype=/usr/include/freetype2/freetype/ --with-jpeg=/usr/lib64 --disable-rpath --with-curl --enable-gd --with-gettext --with-mysqli --with-openssl --with-openssl-dir --with-iconv --with-zip --with-pdo-mysql --with-pdo-sqlite --with-xsl --with-zlib --with-bz2 --with-mhash --enable-fpm --enable-pdo --enable-session --enable-simplexml --enable-bcmath --enable-mbregex --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-mysqlnd --enable-xml --enable-phar \

错误原因:mbstring的正则功能需要oniguruma的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值