我的知识记录

宝塔面板CentOS7 安装php8.1报错:error_BROTIL libs and_or directories were not found where specified解决方案


CentOS7 下编译安装PHP8.1报错,关键字:
error:BROTIL libs and/or directories were not  found where specified
错误原因,缺少依赖,
brotli brotli-devel

解决方案:
1、下载epel安装源:
wget http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/

2、安装epel源
rpm -Uvh epel-release*rpm

3、安装brotli brotli-devel依赖
yum -y install brotli brotli-devel

宝塔面板CentOS7 安装php8.1报错:error_BROTIL libs and_or directories were not  found where specified解决方案

标签:

更新时间:2026-03-08 14:50:38

上一篇:帝国cms访问前台页面,提示“xxx is close”说明该模块在后台被关闭,如何开启?EmpireCMS

下一篇:安装程序的时候提示数据库版本与程序不符怎么办?