Re: Not able to install PHP with LDAP

From: Date: Fri, 23 Mar 2001 12:07:19 +0000
Subject: Re: Not able to install PHP with LDAP
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2563@lists.php.net to get a copy of this message
On Thu, 22 Mar 2001, Bernd Muent wrote: >My System: >Suse Linux 7.0, Apache 1.3.12 in /usr/local/apache, openldap 2 in >/usr/local/openldap > >The ldap-server is working, ldapsearch, ldapadd etc. is possible. > >in /usr/lib there are the modules: libldap.a, libldap.so, libldap.so.1 and >libldap.so.1.00 >in /usr/local/lib there are : libldap.a, libldap.la,libldap.so, libldap.so.2, >libldap_r.a, libldap_r.la and libldap_r.so Uh..you have libs in different place than header files? Or what? Try with --with-ldap=/usr/local/openldap if you have both header files and libs under that directory. (i.e. in /usr/local/openldap/lib/ and /usr/local/openldap/include/) >So did a new ./configure --with-apxs for php. [I also tried 2 times with: >--with-ldap and --with-apache. It seems that with Apache and with apxs is >impossible (Problem : PHP as module or PHP as CGI] >Then make clean, make, make install >With the Option --with-apxs the line: LoadModule php4_module >/usr/lib/apache/libphp4.so was insertet in my httpd.conf, but restarting apache >was not possible ("Configuration broken"), although /usr/lib/apache/libphp4.so >really exists. Might help if you'd tell what the error message is.. --Jani

« previous php.install (#2563) next »