install xammp v3.2.2 and PHP Version 5.6.31 iam try to connect oracle 12c version 12.1.0
i change php.inc file remove semicolan extension=php_oci8_12c.dll this extension
set path in envirnment variable instance client 12.1.0 oracal official instance client i use 64 bit windows 7 xammp 32 bit version i download 32 bit instance client
download php_oci https://pecl.php.net/package/oci8/2.0.8/windows in this link download php 5.6 version
iam facing this error Fatal error: Call to undefined function oci_connect() in C:\xampp\htdocs\test\con1.php on line 4
error1
error in this line $conn=oci_connect(“trainee17”,“TRAINEE17”,“192.168.0.193/ demo”);
i use this php code
<html>
<head><title>Oracle demo</title></head>
<body>
<?php
$conn=oci_connect("username","password","localhost/service_name");
If (!$conn)
echo 'Failed to connect to Oracle';
else
echo 'Succesfully connected with Oracle DB';
oci_close($conn);
?>
</body>
</html>
error 2
facing another error the procedure entry point OCIStmt get next result could not be located in the dynamic link library OCI.dll