Unable to connect to oracle with "bool(false)" message
696154Aug 3 2011 — edited Aug 12 2011Hi,
my php unable to connect to database with message "bool(false)"
connect string :
$c = oci_connect("userid", "pwd", "db");
if (!$c)
{echo "unable to connect: ". var_dump(oci_error());
die();}
os : Linux Centos 5.2
php version : php 5.1.6
apache version : 2.2.3
Oracle version : 10g Rel.2
Oracle + apache + php on the same machine.
i hv followed instruction from php.net/manuel/en/oci8.installation.php and my oci8 environment was set as my oracle bash_profile environment but still can't get connected.
is there any post similiar with this ?
any help would be appreciated.
tks.
Edited by: HeLmi on Aug 3, 2011 2:40 PM