ID: 32092
User updated by: stanislav dot voroniy at portavita dot nl
Reported By: stanislav dot voroniy at portavita dot nl
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Linux
PHP Version: 4.3.10
New Comment:
I do have Oracle installed, I don't have Instant Client.
I've specified only one option - --with-oci8=shared, but in the run of
the script after oci8 option oci8-instant client is checked, and it
does not matter what you put in that option the 'case' statement always
is executed and since instant client in 'no' or '*' state in my case
variable ext_shared is always set to "no". Look in my patch - I've
completelly excluded checking for option --with-oci8-instance-client if
previously option --with-oci8 was set.
Previous Comments:
------------------------------------------------------------------------
[2005-02-25 11:52:23] [EMAIL PROTECTED]
What's the problem with oci8/config.m4?
--with-oci8 & --with-oci8-instant-client are mutually exclusive and you
should NOT be able to use both these options in the same time.
------------------------------------------------------------------------
[2005-02-25 11:39:52] stanislav dot voroniy at portavita dot nl
The main problem in snapshot is solved. So fix bag in
ext/oci8/config.m4 and release 4.3.11 ASAP.
------------------------------------------------------------------------
[2005-02-25 11:33:53] stanislav dot voroniy at portavita dot nl
First reaction about the snapshot is not related to this bug, bau in
fact another bug. In procedure configure checking for Oracle Instance
Client always overwrites variable ext_shared from previous Oracle Home
installation checking. Very bad!
The following patch solves the problem:
=======================
--- ext/oci8/config.m4.orig 2005-02-25 11:05:41.000000000 +0100
+++ ext/oci8/config.m4 2005-02-25 11:07:27.000000000 +0100
@@ -64,13 +64,17 @@
[ --with-oci8[=DIR] Include Oracle (OCI8) support using an
ORACLE_HOME
install. The default DIR is ORACLE_HOME])
-PHP_ARG_WITH(oci8-instant-client, for Oracle (OCI8) support using
Oracle Instant Client,
-[ --with-oci8-instant-client[=DIR]
+if test "$PHP_OCI8" = "no"; then
+ PHP_ARG_WITH(oci8-instant-client, for Oracle (OCI8) support using
Oracle Instant Client,
+ [ --with-oci8-instant-client[=DIR]
Include Oracle (OCI8) support using
Oracle Instant Client. DIR is the directory
with the
Instant Client libraries. On Linux it will
default to
/usr/lib/oracle/<most_recent_version>/client/lib
Other platforms will need to have it
explicitly specified.])
+else
+ PHP_OCI8_INSTANT_CLIENT="no"
+fi
if test "$PHP_OCI8" != "no"; then
======================================
Also in make test the following test has failed:
FAIL Bug #31213 (Sideeffects caused by bug #29493)
[ext/standard/tests/array/bug31213.phpt]
If my major problem is solved I'll report later.
------------------------------------------------------------------------
[2005-02-24 21:23:17] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-02-24 16:25:44] stanislav dot voroniy at portavita dot nl
Adding to the end of the scripts call to session_write_close() solves
the problem. But as far as I can understand it should be done
automatically always, but some times it does not happens.
------------------------------------------------------------------------
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/32092
--
Edit this bug report at http://bugs.php.net/?id=32092&edit=1