Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to connect to oracle with "bool(false)" message

696154Aug 3 2011 — edited Aug 12 2011
Hi,
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

Comments

darrylburke
sylhouette, please don't multipost and don't use the browser's back button to edit your posts, as that creates multiple posts.

I've removed the thread you started just after this one with the same question.

db
843810
ok, sorry. i'll keep that in mind
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 9 2011
Added on Aug 3 2011
5 comments
676 views