From:             support at communardo dot de
Operating system: Suse Linux 9.0
PHP version:      4.3.4
PHP Bug Type:     Apache2 related
Bug description:  Apache2 PHP 4.3.4 --with-oci8 crashing on startup

Description:
------------
When --with-oci8 included in PHP Apache2 crashes on startup with the
messages in error_log posted below.

Installation information:
==========================
*Apache 2.0.48
./configure --prefix=/usr/local/apache2 --enable-so
(successfull compiled, installed and tested without PHP)
- httpd.conf:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php

* PHP 4.3.4
./configure --with-oci8=$ORACLE_HOME --with-gettext=/usr/bin
--enable-shmop --enable-sysvshm  --with-zlib
--with-apxs2=/usr/local/apache2/bin/apxs --enable-sigchild
(successfully compiled and installed)

* Oracle Client 9.2.0.2
- successfull client installation incl. C Programmer Libraries an Call
Interfaces
- environment variables set
export ORACLE_HOME=/home/oracle/OraHome1
export ORACLE_SID=com14 (name of host)

Remarks:
I have tested PHP without OCI8 option. This works fine. Only if I include
OCI8 Apache crashes on startup and will never load any plan HTML page. If
I disable PHP in httpd.conf Apache is working fine. I have NOT included
any LDAP options in Apache or PHP.

Does anyone have an idea where to look for the cause of this problem? Many
thanks.

Dirk

Reproduce code:
---------------
(none)

Expected result:
----------------
Apache2 starting without failure.

Actual result:
--------------
error_log of Apache2:

[Wed Jan 28 09:40:07 2004] [notice] Apache/2.0.48 (Unix) PHP/4.3.4
configured -- resuming normal operations
httpd: extended.c:127: ldap_extended_operation_s: Assertion `(
(ld)->ld_options.ldo_valid == 0x2 )' failed.
[Wed Jan 28 09:40:07 2004] [notice] child pid 20140 exit signal Aborted
(6)
httpd: extended.c:127: ldap_extended_operation_s: Assertion `(
(ld)->ld_options.ldo_valid == 0x2 )' failed.
httpd: extended.c:127: ldap_extended_operation_s: Assertion `(
(ld)->ld_options.ldo_valid == 0x2 )' failed.
httpd: extended.c:127: ldap_extended_operation_s: Assertion `(
(ld)->ld_options.ldo_valid == 0x2 )' failed.
httpd: extended.c:127: ldap_extended_operation_s: Assertion `(
(ld)->ld_options.ldo_valid == 0x2 )' failed.
[Wed Jan 28 09:40:08 2004] [notice] child pid 20144 exit signal Aborted
(6)
[Wed Jan 28 09:40:08 2004] [notice] child pid 20143 exit signal Aborted
(6)
[


-- 
Edit bug report at http://bugs.php.net/?id=27067&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27067&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27067&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27067&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27067&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27067&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27067&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27067&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27067&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27067&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27067&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27067&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27067&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27067&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27067&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27067&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27067&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27067&r=float

Reply via email to