I also have a normal oracle 11.2.0 client installed (PATH and ORACLE_HOME are set correctly). I remove ;
on my extension
on file php.ini
. Now, I tried to connect, so i create a file with this code:
<html>
<head><title>Oracle demo</title></head>
<body>
<?php
$conn=oci_connect("myuser","mypass","localhost/orc1");
If (!$conn)
echo 'Failed to connect to Oracle';
else
echo 'Succesfully connected with Oracle DB';
oci_close($conn);
?>
</body>
</html>
That file is in folder "test" in "htdocs". When i put that url: http://localhost/test/scriptdemo.php shows me that error:
Warning: oci_connect(): ORA-12541: TNS:no listener in C:\xampp\htdocs\test\scriptdemo.php on line 5
Failed to connect to Oracle
I have the same password and username that i use in Oracle. Thank's