PHP 4.0 Bug #6872: ldap_add crashes apache child
| From: | php4bugs at suares dot com | Date: | Sun, 24 Sep 2000 15:23:39 +0000 |
| Subject: | PHP 4.0 Bug #6872: ldap_add crashes apache child | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33657@lists.php.net to get a copy of this message | ||
From: php4bugs@suares.com
Operating system: Linux/Debian2.2
PHP version: 4.0.2
PHP Bug Type: *General Issues
Bug description: ldap_add crashes apache child
Hi,
I have installed Debian 2.2 (potato), and upgraded php4. I am using openldap.
from phpinfo:
---
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.61 2000/08/26 16:20:37 venaas Exp $
Total Links 0/unlimited
API Version 2004
---
Apache Version Apache/1.3.12
Apache Release 10312100
Apache API Version 19990320
---
I use openldap version 1.2.11, PHP 4.02, (the problem is also in PHP 4.01pl2) and Apache/SSL 1.3.9
When i use the ldap_add function, apache crashes (just the child process, not the whole server.)
Sep 22 08:26:19 server apachessl: [Fri Sep 22 08:26:19 2000] [notice] child pid
15803 exit signal Segmentation fault (11)
Sep 22 08:26:22 server apachessl: [Fri Sep 22 08:26:22 2000] [notice] child pid
15807 exit signal Segmentation fault (11)
All the other ldap functions work fine, i.e. ldap_connect, ldap_bind, ldap_search,
ldap_get_entries...
In bug report http://bugs.php.net/bugs.php?id=6650 I found the
same problem, but I have no Oracle to mess things up.
When trying ldd on lobphp4.so, the result is
libphp4.so: error in loading shared libraries: libphp4.so: cannot open shared object file: No such
file or directory
-Ace