I have the following uncommented lines (in my php.ini):
extension=php_oracle.dll extension=php_oci8.dll
And I downloaded this file instantclient-basiclite-nt-11.2.0.2.0.zip
and unpacked it and put it on the D drive ...
I am using Windows XP
I set the environment variable as follows:
LD_LIBRARY_PATH C:\instantclient_11_2:$LD_LIBRARY_PATH ORACLE_HOME C:\instantclient_11_2
But when I execute the oci_connect()
function, I see this error:
Fatal error: call to undefined oci_connect () in ...
and I found these warnings in the erroeLog file:
[29-Dec-2011 00:36:39] PHP Warning: starting PHP: it is not possible to load the dynamic library 'c: \ php \ ext \ php_oci8.dll' - the specified module was not found. in Unknown on line 0
[29-Dec-2011 00:36:39] PHP Warning: starting PHP: it is impossible to load the dynamic library 'c: \ php \ ext \ php_oracle.dll' - the specified module was not found.
afsane
source share