RE: [PHP-DEV] OCI8 Thread safety

2001-04-10 Thread Edin Kadribasic
Title: RE: [PHP-DEV] OCI8 Thread safety Has anyone tried OCI8 under Apache 2 on UNIX? Edin

[PHP-DEV] Quick fix (was: Re: [PHP-DEV] OCI8 Thread safety)

2001-04-08 Thread Joe Brown
I'm still a neophite at thread safety/PHP internals, but I found a quick fix to the OCI8 and PHP in threaded envrionment. Changing OCI_THREADED to OCI_DEFAULT in the OCIInitialize function is the quick fix I discovered. It works because the OCI8 exention is designed for seperate address space fo

Re: [PHP-DEV] OCI8 Thread safety

2001-04-07 Thread Joe Brown
Memory allocation seems to be the issue. On nt, with apache or IIS, if threads access OCI simultaneously, Illegeal instructions are the result. I'm having difficulty determining exactly why this is happening because I do not know how to debug a multi-threaded application before an Illegeal instr

Re: [PHP-DEV] OCI8 Thread safety

2001-04-07 Thread Thies C. Arntzen
On Fri, Apr 06, 2001 at 10:50:49PM -0400, Joe Brown wrote: > It appears to me that the oci8 module does not behave well on win32 - a > threaded environment. I've begun to study the code, and believe I can make > it mind the rules. what is not thread-safe in your opinion? i don't use windows