[PHP-DEV] PHP 4.0 Bug #6872 Updated: ldap_add crashes apache child From: Bug Database (php-dev <email protected>)
Date: 10/15/00

ID: 6872
Updated by: sniper
Reported By: php4bugs <email protected>
Status: Feedback
Bug Type: *General Issues
Assigned To:
Comments:

Please include a backtrace into this report.

For info how to create a backtrace, check this url:
http://bugs.php.net/bugs-generating-backtrace.php

--Jani

Previous Comments:
---------------------------------------------------------------------------

[2000-09-24 11:23:39] php4bugs <email protected>
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

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=6872

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>