#37218 [Opn->Fbk]: oci_new_collection crash Apache
ID: 37218
Updated by: tony2001@php.net
Reported By: xfree at inbox dot lv
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Windows
PHP Version: 5.1.2
Assigned To: tony2001
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-05-08 04:43:30] cjbj at hotmail dot com
I don't get a crash with PHP 5.1.3, but do get an error 'OCI-22303:
type ""."myCollection" not found'.
To work, the name must be in uppercase in the oci_new_collection()
call:
$lora_coll = oci_new_collection($lora_conn, 'MYCOLLECTION');
------------------------------------------------------------------------
[2006-05-02 06:27:40] xfree at inbox dot lv
the same error with the latest snapshot..
------------------------------------------------------------------------
[2006-05-01 07:12:08] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-04-27 07:03:38] xfree at inbox dot lv
Description:
------------
Oci_new_collection crash Apache Web Server running on Windows XP. Then
I calling this function - Apache just stops, with windows like error
message “Apache service raise an error and will be
closed.”
Configuration is following:
PHP 5.1.2. Apache 2.0.55. Oracle Database 10.1.3.
phpinfo() shows:
Temporary Lob support enabled
Collections support enabled.
Collection type is very simple:
create or replace type myCollection as table of varchar2(4000);
/
Reproduce code:
---------------
// connect to ora
$lora_conn = oci_connect(_LOGIN, _PASSWD, _TNSNAME);
if ($lora_conn)
{
$lora_coll = oci_new_collection($lora_conn, 'myCollection');
//...
}
Actual result:
--------------
Apache service crash.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37218&edit=1
Thread (6 messages)