PHP 4.0 Bug #7729 Updated: Segfault during IMP LDAP lookups

From: Date: Wed, 15 Nov 2000 18:41:47 +0000
Subject: PHP 4.0 Bug #7729 Updated: Segfault during IMP LDAP lookups
Groups: php.dev 
Request: Send a blank email to php-dev+get-38168@lists.php.net to get a copy of this message
ID: 7729 Updated by: sniper Reported By: yoneyama@vet.upenn.edu Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: User reported problem solved -> Closed. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-13 10:50:17] yoneyama@vet.upenn.edu Hey, I did what you said about defining path to openldap (the install path, not source), and plus I was more explicit in defining library and header paths and added: LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" on my configure line. Recompiled PHP. Upon startup Apache couldn't find some library resources (in /usr/lib32), but I made some symbolic links and that resolved my problem. My LDAP searches from IMP are working just fine now! --------------------------------------------------------------------------- [2000-11-11 12:41:02] sniper@php.net 1. Use the install paths for libraries not the source in --with-imap & --with-ldap 2. Does the ldapsearch binary work from the command line? --Jani --------------------------------------------------------------------------- [2000-11-09 11:33:11] yoneyama@vet.upenn.edu I am running Apache 1.3.12 (mod_ssl/openssl), dynamic module, here is my configure line: env CC=gcc ./configure --with-mysql=/usr/local --with-imap=../imap-2000.RELEASE-CANDIDATE.7 --with-ldap=../openldap-2.0.7 --with-apxs=/usr/local/apachessl/bin/apxs I've compiled Apache and all pre-reqs using SGI's MIPSPro 7.3 C compiler *EXCEPT* for PHP4, where I use gcc, because the SGI-compiled libphp4.so library is unusable (cf. bug #6433 for details). I have set up IMP (2.2.3). Everything is working just hunky-dory except for when I try to do an LDAP search. I see a square symbol where the LDAP search results are supposed to be returned. IMP still continues to function, though. But it does produce the following in my Apache error log: (today's date) [notice] child pid 2446265 exit signal Segmentation fault (11) I don't know enough to know if OpenLDAP is causing the problem, or if it's just a bad libphp4.so library. I suspect the latter. So I will start here. Thanks. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7729

« previous php.dev (#38168) next »