2014年10月16日
阿新 • • 發佈:2019-02-18
安裝包安裝apache,包含可能發生的錯誤解決方案
安裝apache 提示APR not found 解決方法 推薦方法,注意版本號。 1.下載apr安裝包: http://labs.mop.com/apache-mirror//apr/apr-1.4.6.tar.gz tar zxvf apr-1.4.6.tar.gz cd apr-1.4.6 ./configure --prefix=/usr/local/apr make && make install 2.下載apr-util安裝包: http://labs.mop.com/apache-mirror//apr/apr-util-1.4.1.tar.gz tar zxvf apr-util-1.4.1.tar.gz cd apr-util-1.4.1 ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config 3.下載pcre安裝包: http://cdnetworks-kr-2.dl.sourceforge.net/project/pcre/pcre/8.30/pcre-8.30.zip unzip pcre-8.30.zip cd pcre-8.30 ./configure --prefix=/usr/local/pcre make && make install 安裝pcre-8.30時,make後可能會出現 libtool: unrecognized option `-DHAVE_CONFIG_H'