#5386 [Csd->Bgs]: Apache process die when trying to connect to oracle
| From: | tony2001@php.net | Date: | Mon, 17 Jul 2006 09:05:07 +0000 |
| Subject: | #5386 [Csd->Bgs]: Apache process die when trying to connect to oracle | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99530@lists.php.net to get a copy of this message | ||
ID: 5386
Updated by: tony2001@php.net
Reported By: fjoos at free dot fr
-Status: Closed
+Status: Bogus
-Bug Type: Oracle related
+Bug Type: OCI8 related
Operating System: RedHat 6.0 or Mandrake 7.0 + Apa
PHP Version: 4.0.0
Previous Comments:
------------------------------------------------------------------------
[2000-07-28 16:15:35] thies@php.net
please relink your apache adding -lpthread to the LDFLAGS.
the problem here is that a executable thats *not* linked
agains -lpthread cannot load a shared library that is liked
against -lpthread. (libphp4.so - linked against -lclntsh
linked against -lpthread).
this is a glibc-2.1 bug that supposed to be finxed in 2.2 (i
heard).
------------------------------------------------------------------------
[2000-07-28 16:15:19] thies@php.net
please relink your apache adding -lpthread to the LDFLAGS.
the problem here is that a executable thats *not* linked
agains -lpthread cannot load a shared library that is liked
against -lpthread. (libphp4.so - linked against -lclntsh
linked against -lpthread).
this is a glibc-2.1 bug that supposed to be finxed in 2.2 (i
heard).
------------------------------------------------------------------------
[2000-07-27 21:39:58] waldschrott@php.net
Please verify that it´s still happening using the latest version of PHP
(release 4.0.1pl2 or CVS).
------------------------------------------------------------------------
[2000-07-05 18:48:30] fjoos at free dot fr
Hi,
I am trying to use oracle 8i (8.1.6) with php4 (static module for
apache).
Compilation works fine, oracle is ok, php works fine until I try to
connect to oracle with OCILogon: the process die and what I get in
apache error log is "child pid a_pid exit signal Segmentation Fault
(11) ".
I have tried Mandrake 7.02 and Red Hat Linux 6.0, php4b3, php4.0 and
php4.0.1pl2. Some other bug reports (#4601) indicated to add -lpthread
for apache linking but it doesn't work for me...(I have added it in
Makefile files and did make but it doesn't work...)
With older version of oracle (8.0.5) and linux (Red Hat 5.2) everything
work fine !
My configure file for php:
./configure
--prefix=/usr/local/php
--cache-file=configure.cache \
--with-apache=/usr/local/apache \
--with-oci8=/home/oracle/u01/app/oracle/product/8.1.6 \
--enable-track-vars \
--disable-debug \
--without-gd
Nothing special in php.ini file (nothing about oracle)
And the same for apache:
./configure
--prefix=/usr/local/apache \
--logfiledir=/var/log/httpd \
--runtimedir=/var/log/httpd \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=rewrite \
--enable-module=info \
--enable-module=usertrack \
--disable-module=include \
--disable-module=autoindex \
--disable-module=imap \
--disable-module=userdir
Thank you
Francois-Xavier Joos
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=5386&edit=1