24cun_cn 发表于 2018-11-23 09:15:18

apache从2.2.25升级到2.4.6关键过程记录

  在服务器上安装了2.2后想升级到2.4,结果怎么都安装不上,最后指定配置文件后安装成功。
  2.2.25
./configure --prefix=/usr/local/apache --with-included-apr --enable-so
./configure --with-apxs=/usr/local/apache/bin/apxs


2.4.6
首先将apr apr-util pcre 拷贝到scrlib中
./configure --with-included-apr --with-pcre=/usr/local/pcre --enable-so
  ./configure --with-apxs=/usr/local/apache2/bin/apxs
  


/usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf
停止服务:/usr/local/apache2/bin/httpd -k stop -f /usr/local/apache2/conf/httpd.conf
开启服务:/usr/local/apache2/bin/httpd -k start -f /usr/local/apache2/conf/httpd.conf
  




页: [1]
查看完整版本: apache从2.2.25升级到2.4.6关键过程记录