ID: 38137 Updated by: [EMAIL PROTECTED] Reported By: bill dot macallister at prideindustries dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Debian Sarge with 3.6.8 kernel PHP Version: 5.1.4 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-07-19 06:22:33] bill dot macallister at prideindustries dot com Description: ------------ On a Debian Sarge system with a 2.6.8 kernel I am building Apache 2.0.55 with PHP 5.1.4 with LDAP support. The build seems to complete just fine, but the server will not start. When I do a 'apache/bin/apachectl configtest' I get a Syntax OK message just before I get the SEGFAULT message. When I remove the PHP module load directive from the httpd.conf file the SEGFAULT disappears. I get the same result if I build PHP 4.4.2. I have finally gotten the server to build by building against OpenLDAP 2.2.27. It looks like PHP is having some problem with OpenLDAP 2.3.x? Reproduce code: --------------- Here is the configuration line that works: #!/bin/sh ./configure \ --enable-gd-native-ttf \ --enable-mbregex \ --enable-mbstring \ --enable-ssl \ --enable-track-vars \ --with-apxs2=/usr/local/apache-2.0.55/bin/apxs \ --with-gdbm \ --with-imap \ --with-imap-ssl \ --with-kerberos \ --with-mysql=/usr/local/mysql \ --with-unixODBC=/usr/local/easysoft/unixODBC \ --with-pear-dir=/usr/local/lib/php \ --with-mcrypt \ --with-gd \ --with-gettext \ --with-iconv \ --with-openssl \ --with-ttf \ --with-xml \ --with-zlib \ --with-zlib-dir=/usr/lib \ --with-ldap=/usr/local/openldap-2.2.27 Here is the one that fails: #!/bin/sh ./configure \ --enable-gd-native-ttf \ --enable-mbregex \ --enable-mbstring \ --enable-ssl \ --enable-track-vars \ --with-apxs2=/usr/local/apache-2.0.55/bin/apxs \ --with-gdbm \ --with-imap \ --with-imap-ssl \ --with-kerberos \ --with-mysql=/usr/local/mysql \ --with-unixODBC=/usr/local/easysoft/unixODBC \ --with-pear-dir=/usr/local/lib/php \ --with-mcrypt \ --with-gd \ --with-gettext \ --with-iconv \ --with-openssl \ --with-ttf \ --with-xml \ --with-zlib \ --with-zlib-dir=/usr/lib \ --with-ldap=/usr/local/openldap-2.3.24 Expected result: ---------------- apachectl configtest Syntax OK Actual result: -------------- apachectl configtest Syntax OK /usr/local/apache/bin/apachectl: line 100: 5039 Segmentation fault $HTTPD -t ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38137&edit=1