[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Configuring Apache server, with PHP and LDAP errors



Patrick

You are a star.
The code was looking for include ldap.h, when I specified the 
directory above the include, recompiled PHP and then Apache. 
This time it worked ok.

Thanks

Tony
On 10 Mar 00, at 11:13, Patrick Timmons wrote:

> A web mail interface translated in at least 12 languages. It's writen in
> php3. Check http://www.horde.org if you're interested.
> 
> Until recently, I was using a php/apache pair configured and installed
> by a peer. We had problems with openldap and a lot of unresolved
> externals. I pinpointed the problem to the --with-ldap= option of php by
> looking at the output of apache's make command. Our --with-ldap= was
> pointing at the source path of openldap. The solution was to use
> --with-ldap=/usr/local (which is where the Openldap's 'make install' put
> the production things like include/ldap.h and lib/libldap.so.) So at
> this point, my recommendation would be to try with a php --with-ldap=
> pointing to the production directory of openldap.
> 
> Hope it helps.
> 
> PT.
> 
> 
> Antonin Novak wrote:
> > 
> > Patrick
> > 
> > I have recompiled LDAP specifying --with-threads=no and I am still
> > getting the errors.
> > 
> > What is HORDE/IMP ?
> > 
> > Tony
> > 
> > On 9 Mar 00, at 9:22, Patrick Timmons wrote:
> > 
> > > Hi.
> > >
> > > When you build openldap did you mentioned --without-threads ? If not,
> > > try it and let me know.
> > >
> > > Will you be installing HORDE/IMP next ?   :-)
> > >
> > > P.Timmons
> > >
> > > Antonin Novak wrote:
> > > >
> > > > I hope that this is the correct forum for this question
> > > > I am installing a new test unix server as follows:-
> > > >
> > > >         Apache  v       .3.1.12
> > > >         PHP             v       3.0.15
> > > >
> > > > I am using LDAP 1.2.9 against my current Linux server.
> > > >
> > > > My installation directories are :-
> > > >         APACHE  /home/users/noc/zkousit/apache_1.3.12
> > > >         PHP             /home/users/noc/zkousit/php-3.0.15
> > > >         LDAP            /home/users/noc/ldap/Zkousit/openldap-1.2.9
> > > >
> > > > PHP installs ok with the following option
> > > >         --with-ldap=/home/users/noc/ldap/Zkousit/openldap-1.2.9
> > > >
> > > > APACHE fails in the make if I specify
> > > >         --activate-module=src/module/php3/libphp3.a
> > > >
> > > > If fails with the following message (all on 1 line)
> > > >         /home/users/noc/zkousit/php-3.0.15/functions/ldap.c:1327:
> > > >                 undefined reference to  `ldap_perror'
> > > >
> > > > the ldap_error part is 1 example of numerous ldap processes the
> > > > make is looking for.
> > > >
> > > > Has anyone any ideas, what the problem is or where i might find
> > > > the answer?
> > > >
> > > > Thanks
> > > >
> > > > Tony
> > > >
> > > > PHP appears to install ok, specif
> > > > APACHE configures ok if I don
> > > >
> > > > ----------------------------------------------------------------
> > > >
> > > >   Antonin Ch. Novak                    mailto:Antonin.Novak@cca.cz
> > > >   Systemovy administrator
> > > >   Systemova a technicka podpora
> > > >   CCA spol. s r.o.                    Web: http://www.cca.cz
> > > >   Kratka 8,
> > > >   301 17 Plzen
> > > >   Czech Republic
> > > >
> > > >   Tel: +42 019 7221253
> > > >   Fax: +42 019 7222931
> > 
> > ----------------------------------------------------------------
> > 
> >   Antonin Ch. Novak                    mailto:Antonin.Novak@cca.cz
> >   Systemovy administrator
> >   Systemova a technicka podpora
> >   CCA spol. s r.o.                    Web: http://www.cca.cz
> >   Kratka 8,
> >   301 17 Plzen
> >   Czech Republic
> > 
> >   Tel: +42 019 7221253
> >   Fax: +42 019 7222931



----------------------------------------------------------------
 
  Antonin Ch. Novak                    mailto:Antonin.Novak@cca.cz
  Systemovy administrator
  Systemova a technicka podpora
  CCA spol. s r.o.                    Web: http://www.cca.cz
  Kratka 8,  
  301 17 Plzen
  Czech Republic
  
  Tel: +42 019 7221253   
  Fax: +42 019 7222931