PHP 4.0 Bug #5386: Apache process die when trying to connect to oracle
| From: | fjoos at free dot fr | Date: | Wed, 05 Jul 2000 16:48:30 +0000 |
| Subject: | PHP 4.0 Bug #5386: Apache process die when trying to connect to oracle | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23483@lists.php.net to get a copy of this message | ||
From: fjoos@free.fr
Operating system: RedHat 6.0 or Mandrake 7.0 + Apaceh 1.3.9 + Oracle 8.1.6
PHP version: 4.0.0
PHP Bug Type: Oracle related
Bug description: Apache process die when trying to connect to oracle
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