#36655 [NEW]: CGI/FastCGI has detected a problem and it must be closed - using oci_connect()
| From: | madlybad at hotmail dot com | Date: | Wed, 08 Mar 2006 12:20:34 +0000 |
| Subject: | #36655 [NEW]: CGI/FastCGI has detected a problem and it must be closed - using oci_connect() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-94048@lists.php.net to get a copy of this message | ||
From: madlybad at hotmail dot com
Operating system: Windows XP Pro SP2
PHP version: 5.1.2
PHP Bug Type: *Database Functions
Bug description: CGI/FastCGI has detected a problem and it must be closed - using oci_connect()
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 bug report at http://bugs.php.net/?id=36655&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36655&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36655&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36655&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36655&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36655&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36655&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36655&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36655&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36655&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36655&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36655&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36655&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36655&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36655&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36655&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36655&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36655&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36655&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36655&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36655&r=mysqlcfg