Hello! I'm a beginner in PHP and I try to access an Oracle 8i database through OCI and
ORACLE extensions, but it always generate an Access Violation Error in module
ORANLS8.DLL.
PHP is running in following configuration :
PIII - 800Mhz w/ 64 mb ram
Win98 SE w/ PWS
client Ora8i
PHP code using Oracle extension(I get from PHP tutorial):
<html>
<head>
<title>Accessing Oracle Example</title>
</head>
<body>
<?php
PutEnv("ORACLE_HOME=ORA81");
$connection = Ora_Logon ("scott", "tiger");
if ($connection == false){
echo Ora_ErrorCode($connection).": ".Ora_Error($connection)."<BR>";
exit;
}
Ora_Logoff ($connection);
?>
</body>
</html>
OCI causes the same problem.
The error message details (in portuguese, sorry):
PHP causou uma falha de página inválida no
módulo ORANLS8.DLL em 016f:60801ecf.
Registros:
EAX=00000000 CS=016f EIP=60801ecf EFLGS=00010246
EBX=007acd0c SS=0177 ESP=0063baf0 EBP=0063bcfc
ECX=00000000 DS=0177 ESI=007ad69c FS=486f
EDX=00670214 ES=0177 EDI=007ad670 GS=0000
Bytes em CS:EIP:
66 8b 48 10 8b 04 8a 8b 4d 24 89 86 b0 00 00 00
Esvaziamento da pilha:
007ad69c 007ad670 007ad670 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000
Thank's.
Leon
.