宝塔面板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

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