Re: php_oci8_11g.dll -- Fatal error: Call to undefined function oci_connect()
875426Jul 14 2011 — edited Aug 5 2011Hi everybody,
I have very similar problem. I have WinXP with ISS 5.1. I have installed PHP 5.3.6 on my PC according with this: http://www.php.net/manual/en/install.windows.iis6.php and also http://www.php.net/manual/en/install.windows.manual.ph
Then I installed FastCGI for IIS (http://www.iis.net/download/FastCGI)
I checked that PHP works, I wrote small script and I saw result through my localhost (c:\Inetpub\wwwroot).
Then I installed Oracle Database Express Edition and I created one small table.
As oracle client, I have on my PC already installed Oracle - or101client
But after runnin function oci_connect() in my PHP file error ocured: Fatal error: Call to undefined function oci_connect() in C:\Inetpub\wwwroot\oracle\index.php
Here is my Configure Comand from phpinfo():
"--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared"
I checked php.ini my to make sure that php_oci8.dll and php_oci8_11g.dll are uncommented. Also I checked that path is correct and dll files are uploaded in folder.
In my php-errors.log file I have this:
[13-Jul-2011 12:24:12] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0
[13-Jul-2011 12:24:13] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_oci8_11g.dll' - The specified procedure could not be found.
I could not find way how to solve this problem. Any ideas?
Thanks in advance