#38882 [Opn->Fbk]: ldap_connect causes Segmentation fault
| From: | tony2001@php.net | Date: | Mon, 02 Oct 2006 22:11:59 +0000 |
| Subject: | #38882 [Opn->Fbk]: ldap_connect causes Segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103018@lists.php.net to get a copy of this message | ||
ID: 38882
Updated by: tony2001@php.net
Reported By: d dot wynne at ljmu dot ac dot uk
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: SuSE 10.1 x86_64
PHP Version: 4.4.4
New Comment:
See also bug #38819 and the solution inside.
Let us know if it works for you.
Previous Comments:
------------------------------------------------------------------------
[2006-09-29 15:04:24] d dot wynne at ljmu dot ac dot uk
OK, Built & installed. Presumably now there's some new options or
statements to the /usr/bin/php CLI script with the ldap_connect
statement.
------------------------------------------------------------------------
[2006-09-29 14:45:19] tony2001@php.net
make clean is required.
------------------------------------------------------------------------
[2006-09-29 14:44:04] d dot wynne at ljmu dot ac dot uk
.....
Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_multibyte.lo
Zend/zend_strtod.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo
main/internal_functions_cli.lo -lcrypt -lcrypt -lsybdb -lldap -llber
-lresolv -
lm -ldl -lnsl -lssl -lcrypto -ldl -ldl -lm -lnsl -lirc -lclntsh -lcrypt
-lcrypt
-o sapi/cli/php
ext/standard/info.lo: In function `php_info_print_table_header':
/home/cmstechs/cmsdwynn/SuSE/php-4.4.4/ext/standard/info.c:756:
undefined refere
nce to `ts_resource_ex'
ext/standard/info.lo: In function `php_info_print_table_row':
/home/cmstechs/cmsdwynn/SuSE/php-4.4.4/ext/standard/info.c:800:
undefined refere
nce to `ts_resource_ex'
ext/standard/info.lo: In function `php_print_gpcse_array':
/home/cmstechs/cmsdwynn/SuSE/php-4.4.4/ext/standard/info.c:119:
undefined refere
nce to `executor_globals_id'
ext/standard/info.lo: In function `php_info_write_wrapper':
/home/cmstechs/cmsdwynn/SuSE/php-4.4.4/ext/standard/info.c:67:
undefined referen
ce to `ts_resource_ex'
ext/standard/info.lo: In function `php_print_info':
/home/cmstechs/cmsdwynn/SuSE/php-4.4.4/ext/standard/info.c:624:
undefined refere
nce to `executor_globals_id'
/home/cmstechs/cmsdwynn/SuSE/php-4.4.4/ext/standard/info.c:554:
undefined refere
nce to `sapi_globals_id'
------------------------------------------------------------------------
[2006-09-29 14:06:23] tony2001@php.net
>a) The PHP build fails if I do
>--enable-experimental-zts
Please elaborate.
------------------------------------------------------------------------
[2006-09-29 14:00:00] d dot wynne at ljmu dot ac dot uk
Now I'm stuck:
a) The PHP build fails if I do
--enable-experimental-zts
b) SuSE 10.1 only ships with apache2 binary RPM's. I downloaded apache
1.3 source and compiled / installed & ran, but httpd just dies, no
errors in the loge either. In any case a downgrade to apache 1.3 isn't
an option as I have other apache 2.x only modules that I besides PHP.
c) No updates on the SuSE update server for either apache2 or
openldap.
Problem appears to point to OpenLDAP, so all I can think of next is to
compile / install the latest build. Maybe this is an anomaly with 64
bit machines, which is why it's reporing is not more widespread.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38882
--
Edit this bug report at http://bugs.php.net/?id=38882&edit=1