Page 1 of 1

how to configure php with oracle

Posted: Sat Dec 22, 2007 7:55 am
by csoftdev
hi, does anyone here know how to configure php so that it can access an oracle database? i have been trying it for many days, but none of it seems to work. i have an oracle database server running on my local system and a web server too for my development purposes. please, can someone help me out with this one.

Posted: Sat Dec 22, 2007 11:51 am
by Lixas
i hope you read this http://www.orafaq.com/faqphp.htm
Please post more details whats is going on, and maibe if you can, post here phpinfo() of your server.
ALSO maybe you firewall blocking something ? try to disable all your firewalls (internals also) and test

oracle

Posted: Wed Jan 30, 2008 11:10 pm
by Gebbo
hmmm i havent used oracle for that long so i cannot give advice try googling for help..

Posted: Sun Feb 03, 2008 3:21 am
by Tails5
According to the PHP website, "You have to compile PHP with the option --with-oracle[=DIR], where DIR defaults to your environment variable ORACLE_HOME." But I think that only works if you have Linux, I'll try to find you a Windows solution, if you dont have Linux.

Posted: Sun Feb 10, 2008 11:41 am
by Lixas
for windows i think that there should be dll library, which you have to activate in php.ini configuration file

Posted: Mon Feb 11, 2008 4:41 am
by Tails5
I think it's called oci8.dll look for that in your php.ini file and make sure that its not commented.