Hi All,

I have searched all over the web for an answer to this, but I can't seem to find one :(

I have a custom Apache installation with mod_ssl, mod_perl mod_php and 
Chili!Soft's mod_casp.

When I originally compiled this, I didn't need LDAP support from php, so it wasn't 
compiled into it. Now I need LDAP support, I have tried re-compiling 
and am having problems.

When I compile with --with-ldap everytime I start Apache, it fails and reports 
this error in error_log :

Syntax error on line 1158 of /usr/local/apache/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included 
in the server configuration

If I compile without --with-ldap then Apache works with no problems.

Does anyone have an idea what I am doing wrong? Is this a common problem? Does 
anyone know what I can do to fix it? I have tried using PHP 4.2.0, but this produces 
the same problem...

I have included my compile options below :

OpenSSL (v 0.9.6b)
# cd /usr/src/openssl-0.9.6b/
# sh config no-idea no-threads -fPIC
# make
# make test

mod_ssl (v2.8.5-1.3.22)
# cd ../mod_ssl-2.8.5-1.3.22/
# ./configure --with-apache=/usr/src/apache_1.3.22

mod_perl (v1.26)
# cd ../mod_perl-1.26/
# perl Makefile.PL \
> APACHE_SRC=../apache_1.3.22/src \

Apache (v1.3.22)
# cd ../apache_1.3.22/
# SSL_BASE=/usr/src/openssl-0.9.6b \
./configure \
--prefix=/usr/local/apache/ \
--enable-module=env \
--enable-module=setenvif \
--enable-module=mime \
--enable-module=mime_magic \
--enable-module=negotiation \
--enable-module=alias \
--enable-module=userdir \
--enable-module=dir \
--enable-module=autoindex \
--enable-module=access \
--enable-module=auth \
--enable-module=asis \
--enable-module=include \
--enable-module=cgi \
--enable-module=actions \
--enable-module=status \
--enable-module=info \
--enable-module=log_config \
--enable-module=imap \
--activate-module=src/modules/perl/libperl.a \
--add-module=mod_frontpage.c \
--enable-module=ssl \
--enable-shared=max \
# make
# make certificate
# make install

# cd php
# ./configure \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-mysql=/usr/local/mysql
> --with-ldap
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini


Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street

Tel : 0161 911 3990
Fax : 0161 911 3998

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to