Apache 2.5.1 on Debian can't start when brotli module is activated
Apache 2.5.1 on Debian can't start when brotli module is activated
I'm new in this community, that's why I do my best for the best explanation about my problem.
Problem:
I would like to compile on Debian 9.5 apache in his lastest version (2.5.1 currently). Inside apache, I desire to use the Brotli compression module but when I try to start apache server an error occurred.
Versions of compiled softwares:
1/ Apache
Server version: Apache/2.5.1-dev (Unix)
Server built: Sep 6 2018 21:16:46
Server's Module Magic Number: 20180905:1
Server loaded: APR 2.0.0-dev, PCRE 10.32-RC1 2018-08-13
Compiled using: APR 2.0.0-dev, PCRE 10.32 2018-08-13
Architecture: 64-bit
Server MPM: worker
threaded: yes (fixed thread count)
forked; yes (variable process count)
Server compiled with...
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALISED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/project/dev/compile/apache/"
-D SUEXEC_BIN="/project/dev/compile/apache/bin/suexec"
-D DEFAULT_PIDLOG="httpd.pid"
-D DEFAULT_SCOREBOARD="apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
2/ Brotli
Brotli 1.0.5
Steps:
In the first time, I have gotten the Brotli sources, and compile it in specific repositories for libs, executables and includes.
./configure-cmake --bindir=/project/dev/compile/apache/bin --libdir=/project/dev/compile/apache/lib/ --includedir=/project/dev/compile/apache/include/ --disable-debug
In the second time, I compile apache with the special repoitories for Brotli :
./buildconf --with-apr=$_UNCurlAPR --with-apr-util=$_UNCurlAPR
./configure -q --prefix=$_UNCcompileAPACHE --sysconfdir=$_UNCcompileAPACHE"conf" --enable-pie --with-apr=$_UNCurlAPR --with-apr-util=$_UNCurlAPR --with-pcre=$_UNCurlAPACHE"srclib/pcre/bin/pcre2-config" --with-libxml2=/usr/ --enable-ssl --enable-ssl-ct --enable-mods-static=ssl --with-port=$_HTTPportAPACHE --with-sslport=$_SSLportAPACHE --enable-ssl-staticlib-deps --enable-brotli --with-brotli=/project/dev/compile/apache/lib/ --enable-ldap --enable-so --enable-socache-shmcb --enable-alias --with-mpm=worker --enable-dbd --enable-http2 --enable-expires --enable-rewrite --enable-userdir --enable-unixd --enable-suexec --enable-suexec-capabilities --with-suexec-caller=$_USERloginAPACHE --disable-status --disable-journald --disable-syslog --disable-log-json --disable-md
The Apache compilation is a success and the file mod_brotli.so is built onto the directory /apache/modules/.
enter image description here
But when I try to start Apache, I have an error focuses on the Brotli module.
enter image description here
Somebody can help me to understand why this error occurred with Brotli module ?
Thank a lot for taking time to read and answer me.
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.