ID:               43992
 Updated by:       [EMAIL PROTECTED]
 Reported By:      robocomp at mail dot ru
-Status:           Open
+Status:           Bogus
-Bug Type:         Apache2 related
+Bug Type:         OCI8 related
 Operating System: Windows 2003 x64 Server
 PHP Version:      5.2.5
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2008-01-31 13:20:30] robocomp at mail dot ru

Description:
------------
I have installed Apache 2 on my Windows 2003 x64 server, then oracle
10.2.0.1 instant client, then PHP-5.2.5 with OCI8 extension.
The reproduce code contains a script which could be successfully
executed from command line, but when I try to run this script under
Apache 2, it ends with the error message
ORA-06413: Connection not open and does not connect of course.

I tried to run Apache not as a service, try to run Apache as a service
under privileged user - it does not work. The error still the same.

What could it be? Is it bug or what?

Reproduce code:
---------------
<?php
error_reporting(E_ALL);
$conn = oci_connect('IAS2', 'Ias2PasswordHack',
'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS =
(PROTOCOL=TCP)(HOST=10.101.1.14)(PORT=1533)))(CONNECT_DATA=(SID=MINREG2)))',
'CL8MSWIN1251'); 
if (!$conn)
{
    print_r(ocierror());
}

print "Resource: $conn<br>\n";

?>

Expected result:
----------------
Resource: Resource id #4<br>

Actual result:
--------------
Array ( [code] => 6413 [message] => ORA-06413: Connection not open.
[offset] => 0 [sqltext] => ) Resource: 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43992&edit=1

Reply via email to