php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36655 CGI/FastCGI has detected a problem and it must be closed - using oci_connect()
Submitted: 2006-03-08 13:20 UTC Modified: 2006-03-16 01:00 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: madlybad at hotmail dot com Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 5.1.2 OS: Windows XP Pro SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: madlybad at hotmail dot com
New email:
PHP Version: OS:

 

 [2006-03-08 13:20 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-08 13:29 UTC] 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-03-16 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 09:01:28 2024 UTC