Re: PHP 4.0 Bug #7157 Updated: Cannot Suppot both Oracle and Informix
| From: | ptrincavelli at bancobisel dot com dot ar | Date: | Mon, 08 Jan 2001 11:57:14 +0000 |
| Subject: | Re: PHP 4.0 Bug #7157 Updated: Cannot Suppot both Oracle and Informix | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43356@lists.php.net to get a copy of this message | ||
Yes, all the environment variables are set because if I ONLY compile
Informix support, the it works. And if I ONLY compile Oracle support, then
it works too.
---
Pablo A. Trincavelli
Banco Bisel S.A.
Informática
Bug Database <php-dev@lists.php.net>
07/01/01 21.50
Para: pablot@bancobisel.com.ar
cc:
Asunto: PHP 4.0 Bug #7157 Updated: Cannot Suppot both Oracle and Informix
ID: 7157
Updated by: sniper
Reported By: pablot@bancobisel.com.ar
Old-Status: Open
Status: Feedback
Bug Type: OCI8 related
Assigned To:
Comments:
Have you set all the needed environment variables before starting Apache?
See http://www.php.net/manual/ref.oci8.php for
more info.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-12 09:12:56] pablot@bancobisel.com.ar
Using this configure script:
./configure --with-oci8
--with-informix=/informix
--with-mysql=/export/home/local
--with-ldap=/export/home/openldap
--with-apache=../apache_1.3.12
--enable-track-vars
--enable-calendar
--enable-inline-optimization
--enable-trans-sid
It´s not possible to make Oracle and Informix support work at the same
time. You must either compile Oracle support OR Informix support.
The problem arises when using mod_ssl, it looses the ssl encription
channel and the apache log shows:
[Thu Oct 12 09:40:29 2000] [notice] Apache/1.3.12 (Unix) PHP/4.0.3
mod_ssl/2.6.6
OpenSSL/0.9.5a configured -- resuming normal operations
[Thu Oct 12 09:43:27 2000] [notice] child pid 17316 exit signal
Segmentation Fault
(11)
But the problem also happens without ssl, it has been tested with php
4.0.3 and php 4.0.2, with apache 1.3.9 and apache 1.3.12, so it seems the
problem is there from some time ago or it has been there always!!
It also makes no difference it you use OCI8 or Oracle support. It has been
tested with Oracle 8.1.5 and Oracle 8.0.5 and the same results.
Just taking out the "--with-oci8" from the configure script makes it work
ok, but of course with no Oracle support!!!
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7157