Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > PHP and Oracle ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 6938 of 7280
Post > Topic >>

PHP and Oracle Client

by =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= Jun 10, 2008 at 05:53 PM

Scenario:

- Windows Server 2003
- Apache 2.2.8 (latest)
- PHP 2.2.6 (latest)
- Oracle 10g (remote machine)
- Oracle Client 10g Express Edition

I spent a couple of hours trying to figure out why PHP would not connect 
to Oracle using OCI8 functions while ODBC functions and TOAD worked 
fine. I eventually launched Systernal's "Filemon" utility and found out 
that Apache (PHP runs as Apache module) was looking for a file called 
"ORAOCIEI10.DLL", which was nowhere on my hard disc. Desperate enough, I 
copied "oraocixe10.dll" as "oraociei10.dll" and, to my surprise, it all 
started working.

I fear that it'll break randomly the least expected day so I'd like to 
understand how/why this happens.

If "php_oci8.dll" is binded to an specific oracle client library, why is 
it version 10 and not something newer? If it's not, what makes it seek 
for this or that client DLL?


-- 
-- http://alvaro.es
- Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
 




 1 Posts in Topic:
PHP and Oracle Client
=?ISO-8859-1?Q?=22=C1lvar  2008-06-10 17:53:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:34:17 CST 2008.