|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-01-17 17:02 UTC] paul at simonway dot com
Description:
------------
OCI calls work with php5.1.1/Apache2.0.50(c:/php/php5apache2.dll)/Windows XP.
OCI calls do NOT work after updating from php5.1.1 to php5.1.2.
The php script that works with 5.1.1 crashes when using 5.1.2:
[Tue Jan 17 10:50:32 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
Reproduce code:
---------------
$conn = @ocilogon('****','****','9i');
if($error = ocierror())
print(var_export($error,true));
$stmt = ociparse($conn, 'SELECT SYSDATE FROM DUAL');
if(!$stmt)
print var_export(ocierror($stmt),true);
if(!@ociexecute($stmt))
{
$error = ocierror($stmt);
print var_export($error,true);
}
ocifetchinto($stmt, $row, OCI_ASSOC | OCI_RETURN_NULLS | OCI_RETURN_LOBS);
print_r($row);
Expected result:
----------------
Array ( [SYSDATE] => 17-JAN-06 )
Actual result:
--------------
Apache system crash:
[Tue Jan 17 10:50:32 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 23:00:01 2025 UTC |
I ran the script (oci.php) from the command line. PHP 5.1.1 worked as expected, no problem. PHP 5.1.2 printed out the expected result but crashed before returning to the command line prompt: C:\php\scripts>php oci.php Array ( [SYSDATE] => 17-JAN-06 ) I downloaded the *.pdb from snaps and put them in the c:/php and c:/php/ext directories. However, when the script crashes and I choose debug, Microsoft Visual C++ .NET debugger reports "No symbols loaded" for all files loaded by php.exe. Here's the last bit of info from the debugger 'output' window: [snip] 'php.exe': Loaded 'C:\WINDOWS\SYSTEM32\apphelp.dll', No symbols loaded. The thread 'Win32 Thread' (0xb60) has exited with code 0 (0x0). Unhandled exception at 0x6066dfbe in php.exe: 0xC0000005: Access violation reading location 0x00f8d270. 'C:\php\ext\php_oci8.dll', No symbols loaded. [/snip] I don't know how to load the symbols. Perhaps, somebody will have the same problem and shed light on this. Thanks.