Apache 如何使用DirectAdmin在Debian 10上启用Brotli?

Apache 如何使用DirectAdmin在Debian 10上启用Brotli?,apache,debian,directadmin,brotli,Apache,Debian,Directadmin,Brotli,我正在Debian 10服务器上运行最新版本的DA(1.61.3),PHP7.4.7 en Apache 2.4.43。我想添加Brotli支持,因为他们做到了这一点: 在Debian上安装Brotli软件包(apt获取安装Brotli) 在apache中为custombuild添加了brotli模块,如下所示:(-with-brotli) 在这之后,我在和处进行了检查,但失败了,它说:没有Brotli支持 在PHP信息中,我看到以下内容: 在此之前,BROTLI未在此处添加,因此安装了一

我正在Debian 10服务器上运行最新版本的DA(1.61.3),PHP7.4.7 en Apache 2.4.43。我想添加Brotli支持,因为他们做到了这一点:

  • 在Debian上安装Brotli软件包(apt获取安装Brotli)
  • 在apache中为custombuild添加了brotli模块,如下所示:(-with-brotli)
在这之后,我在和处进行了检查,但失败了,它说:没有Brotli支持

在PHP信息中,我看到以下内容:

在此之前,BROTLI未在此处添加,因此安装了一些东西,但正如您所看到的,值为“否”

要启用Brotli,我还需要做些什么

谢谢你的帮助

试试这个。。。 检查brotli模块在Apache中是否真的处于活动状态:

httpd-t-D转储模块

然后重新编译php

cd/usr/local/directadmin/custombuild /构建php ./build rewrite\u confs

试试这个。。。 检查brotli模块在Apache中是否真的处于活动状态:

httpd-t-D转储模块

然后重新编译php

cd/usr/local/directadmin/custombuild /构建php /构建重写\u会议