Environment
Operating system: CentOS 6.8
Server: Apache 2.4.29
Other key dependent libraries: apr 1.6.3, apr-util 1.6.1, pcre-8.41
Command )
- Decompression command
Command format | Command description | Command Parameter explanation |
---|---|---|
- Apache installation
- Compile and install (make install)
Problem
Occurrence timeSolution (personal )Solution (Network)Weight##Apache installationerror :Cannot use an external APR with the bundled APR-utilWhen installing Apacheerror:Did not find pcre-config script at [dir]When pcre is installederror: You need a C Compiler for C SupportWhen Apache is installederror:pcre-config for libpcre not foundApache installationerror:no acceptable C complier found in $PATH##apr-util installation (Part of the error message )yum install expat-devellowWhen Apache is installed(Part of the error message)yum install openssl- develyum update openssl高#This is the first time I write this summary. If there is anything wrong, please feel free to point it out to Dalao (pass women's clothing to Dalao).Error content | ||||
---|---|---|---|---|
Recompile and install apr-util | Low | |||
Replace pcre2 with pcre, then compile and install | Low | |||
yum install -y gcc gcc-c | Low | |||
Use --with-pcre=[dir] to specify the pcre installation directory when ./configure configuration | Reinstall or One-time installation of pcre | low | ||
yum -y install gcc | 高 | |||
error:'apr_xml_parser' has no memebr named 'xp' | ||||
error: openssl version is too old |