
1.下载httpd apr apr-util pcre
配置安装apr .configure –with-prefix=/…./apa/apr
make && make install
配置安装apr-util .configure –with-prefix=/…./apa/apr-util
make && make install
配置安装pcre .configure –with-prefix=/…./local/pcre
make && make install
配置安装apache httpd ./configure –prefix=/usr/local/apache2 –with-mpm=worker –enable-cache –enable-disk-cache –enable-mem-cache –enable-file-cache –enable-nonportable-atomics –enable-mods-shared=most –enable-so –enable-rewrite –enable-ssl –with-apr=/../apr安装目录 –with-apr-util=/…/apr-util安装目录 –with-pcre=pcre安装目录
make && make install
php configure 参数 http://www.mamicode.com/info-detail-32029.html




近期评论