#36655 [Opn->Fbk]: CGI/FastCGI has detected a problem and it must be closed - using oci_connect()
| From: | tony2001@php.net | Date: | Wed, 08 Mar 2006 12:29:18 +0000 |
| Subject: | #36655 [Opn->Fbk]: CGI/FastCGI has detected a problem and it must be closed - using oci_connect() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94050@lists.php.net to get a copy of this message | ||
ID: 36655
Updated by: tony2001@php.net
Reported By: madlybad at hotmail dot com
-Status: Open
+Status: Feedback
-Bug Type: *Database Functions
+Bug Type: OCI8 related
Operating System: Windows XP Pro SP2
PHP Version: 5.1.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2006-03-08 13:20:33] madlybad at hotmail dot com
Description:
------------
To connect Oracle 9i, using oci_pconnect(), it works properly. But
using oci_connect() CGI PHP crash and it is closed. CGI shouldn't
crash.
Reproduce code:
---------------
$db = "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)
(HOST = host.com)(PORT=1521))
(CONNECT_DATA=(SERVER=DEDICATED)
(SERVICE_NAME=MYDB)))";
$conexion = oci_connect("user","pwd",$db);
if (!$conexion) {
$e = oci_error();
echo "Error al Conectarse";
print htmlentities($e['message']);
exit;
}
else { print htmlentities('Exito al Conectarse');
}
oci_close($conexion);
Expected result:
----------------
The page should show the text:
Exito al Conectarse
Actual result:
--------------
The page crash and a winodws is showed with this text:
"CGI / FastCGI ha detectado un problema y debe cerrarse"
That means that CGI crash, anf it should be closed.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36655&edit=1