Re: /ext/oci8/oci8.c win32 bugfix.
| From: | Paco Ortiz | Date: | Mon, 09 Apr 2001 14:31:42 +0000 |
| Subject: | Re: /ext/oci8/oci8.c win32 bugfix. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51200@lists.php.net to get a copy of this message | ||
Hi:
as far as I know, OCI8 works fine for me under Win32 + IIS 4 + ISAPI filter. Not that I tested it
heavily, but it's just my experience.
Greetings,
F.J.Ortiz
4/9/01 12:51:48 AM, "Joe Brown" <joebrown@somewhere.com> wrote:
>If someone would apply this patch to ext/oci8/oci8.c I think the Oracle
>using Win32 community would be greatful.
>
>Don't know if all threaded environments have a problem with OCI8's behaviour
>in threaded mode. PHP on win32 really doesn't like it... I haven't been
>able to get it to crash with this modification. W/out this modification I
>haven't been able to keep it from crashing.
>
>This change only affects builds on Win32, making OCI8 behave like it does on
>traditional Unix. If possible, please include in the next RC or final
>release of 4.0.6
>
>Thanks,
>joebrown
>podiatryfl.com
>
>--- php4/ext/oci8/oci8.c Fri Mar 02 04:45:08 2001
>+++ php4/ext/oci8/oci8.c Mon Apr 09 03:33:10 2001
>@@ -342,7 +342,7 @@
> {
> zend_class_entry oci_lob_class_entry;
>
>-#ifdef ZTS
>+#if ZTS && !WIN32
> #define PHP_OCI_INIT_MODE OCI_THREADED
> #else
> #define PHP_OCI_INIT_MODE OCI_DEFAULT
>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>For additional commands, e-mail: php-dev-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
___________________________________
Francisco Javier Ortiz Torre
ComuNET,S.A.
mailto:fjortiz@comunet.es
ComuNET, S.A
Gral. Concha 39,6º
48012 Bilbao España
Tel: +34 944 700 101
Fax: +34 944 700 185
http://www.comunet.es
___________________________________