I am having serious problem connecting to external ORA DB 11g from local Zend server CE.
OCI8 is enabled and running version 1.4.6 (due to phpinfo()
).
I
Due to several misconfigurations and 3 days lost while looking for a solution I moved to develop on Linux server and all of the problems are gone.
What I have found:
php_oci8.dll
and php_oci8_11g.dll
are depending on the Oracle Instant Client libraries
oci_
functions (like oci_connect
), only ociX
functions (like ociLogon
) which is strange...ORA_HOME
, TNS_ADMIN
, adjusted PATH
to look to instant client installation) at no availSo finaly on Linux server I have no problems connecting to remote Oracle server. Somewhere (while surfing over thousands of PHP-Oracle related pages) I have found an information that "one shouldn't develop PHP application connecting to Oracle server under windows" and should stick to UNIX system instead...
So anybody experiencing similar or same problems - be so kind and do not waste Your time, install a VirtualBox, run Linux on it and move forward!