Hi all,
I am a newbie. I have installed PHP 5.0.4 on my Win2k server with IIS. The test page is working fine. The phpinfo() also works ok.
However, I need to work with Oracle10g as the backend for my PHP apps. I tried to set the extension_dir directive in the php.ini file to ".\ext\" and also removed the semicolons on the two oracle related extensions viz. php_oci8.dll and php_oracle.dll.
After setting these things, when I restart the IIS and execute the phpinfo() page, I receive the following warning message box:
---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library '.\ext\php_oci8.dll' - The specified procedure could not be found.
---------------------------
OK
---------------------------
For your reference, I am including the various phpinfo() details here:
Configuration File (php.ini) Path => F:\PHP504\php.ini
extension_dir => .\ext\
Path => F:\PHP504;D:\WINNT\system32;D:\WINNT;
SERVER_SOFTWARE => Microsoft-IIS/5.0
SystemRoot => D:\WINNT
SCRIPT_FILENAME => d:\inetpub\wwwroot\TestSite\tut_phpinfo.php
Server API => CGI/FastCGI
PHP API => 20031224
PHP Extension => 20041030
Zend Extension => 220040412
Also, in the Windows registry, I have set the following:
[HKEY_LOCAL_MACHINE\SOFTWARE\PHP]:IniFilePath=F:\PHP504
Under this F:\PHP504 (which is the root PHP folder), I have the following folders:
.\dev
.\ext
.\ErrorLogs (I created this to receive error logs)
.\extras (this has three more folders underneath)
.\Manual
.\PEAR (this has one more folder underneath)
I hope the above information is sufficient.
Can someone please help me resolve this issue? I believe that until this is done, I will not be able to connect to the backend Oracle Database from my PHP scripts.
Thanks for your time and advice.
Regards.