I want to connect PHP with oracle DB. I have written the following code
<?php
$db_user='system';
$db_pass='19941992';
$db_name="webproj";
$connection = oci_connect($db_name,$db_pass,'localhost/ORCL');
if (!$connection) {
echo "Couldn't make a connection!";
exit;
}
?>
But its showing an error Fatal error: Call to undefined function oci_connect()
NB. I have installed php_oci8.dll . How can i solve this?
php_info()confirm it is active?