|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-03-08 13:29 UTC] tony2001@php.net
[2006-03-16 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 16:00:02 2025 UTC |
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.