PHP does not recognize Oracle OCI Functions

admin

Administrator
Staff member
I get a problem when I try to connect to an Oracle database, this is my code:


<head>
<title>Oracle</title>
</head>
<body>
</body>
<?
$conn = ocilogon("daniel", "daniel", "myHost");
if ($conn){
ocilogoff($conn);
echo "Connection successful";
}
else{
echo "Connection fails";
} // if
?>


When I execute my code, PHP does not found oci functions.

Any suggestion?

Thanks

Daniel Baylon
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
 
Back
Top