Re: PHP 4.0 Bug #7240 Updated: ldap module linked with openldap2 crashes
| From: | Stig Venaas | Date: | Tue, 17 Oct 2000 18:52:30 +0000 |
| Subject: | Re: PHP 4.0 Bug #7240 Updated: ldap module linked with openldap2 crashes | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-35310@lists.php.net to get a copy of this message | ||
On Tue, Oct 17, 2000 at 09:12:02PM +0300, Jani Taskinen wrote:
> On Tue, 17 Oct 2000, Stig Venaas wrote:
>
> >> Hi,
> >> I was asked by the maintainer of openldap2 to recompile php4
> >> with this. The compilation went without problems, no warninings (will
> >> try higher -W settings). It links and loads
> >> correctly into apache, apache starts. I can even load login page of
> >> IMP, but when I try to login, it crashes. After removing
> >> "extension=ldap.so" from php.ini it works OK.
> >
> >There were some problems with segfaults in the IMAP code that you fixed,
> >right? Removing LDAP might affect the behavior I think. I, and probably
>
> Removing..? Now I don't really understand what you mean.
As in the last lines I quoted
| After removing "extension=ldap.so" from php.ini it works OK.
> I'm running both IMAP and LDAP (openldap2) and I haven't had any segfaults..
Good, glad I'm not the only one trying version 2.
> BTW. Did you try that patch I made to trying fix the conflict with
> Openldap and Oracle? I don't have oracle myself to really try it out.
I plan to at least compile it, maybe I can get someone to actually try
to run it.
We know that things will work if the link order is changed, so if I can
build it and the link order is actually changed, I think you should
commit the fix.
Stig