- 论坛徽章:
- 0
|
自问自答:
1. 先装openldap,装的时候--disable-slapd,因为只要openldap的lib和include,并不是真的要装ldap服务器。
2. 编译apr和apu,apu编译时--with-ldap-lib,--with-ldap-include,--with-ldap。lib和include用openldap安装出来的。make, make install
3. 安装apache。configure --with-apr=<> --with-apr-util,这两个用步骤2安装路径。
终于把apache2和ldap搞定了,但是因为apache升级里,php和mod_perl也要重装。刚把php搞定了,期间又重装过一次apache,因为之前apache只需要--enable-module=so就可以用php的,现在2.2.9不行,还得--enable-so。
继续奋战mod_perl。mod_perl版本是1.29。perl Makefile.PL USE_APXS=1 WITH_APXS=<APACHE APXS路径> EVERYTHING=1好像不管用啊,安装完以后httpd.conf里还是没有LoadModule。
有没有哪位大人指点一下? |
|