ID: 17002 Comment by: nelo at icubestudio dot com Reported By: dong_peng at sd163 dot net Status: Closed Bug Type: Documentation problem Operating System: Win98 PHP Version: 4.2.0 New Comment:
According my experience it is not a PATH problem at all. I am trying to connect to Oracle 9i with PHP 4.2/4.3, Apache 1.3/2.0 without success for many hours :( I copied OCI.DLL many times almost everywhere, also PATH is set correctly. Might be problem of PHP, Oracle, or both simply cannot communicate. If someone ever succeded running Oracle 9i R2 with PHP please mail me. Nelo Previous Comments: ------------------------------------------------------------------------ [2003-01-17 23:04:42] [EMAIL PROTECTED] This has now been documented, see: http://cvs.php.net/cvs.php/phpdoc/en/chapters/install.windows.xml Thanks for the report :) ------------------------------------------------------------------------ [2002-05-05 12:09:28] [EMAIL PROTECTED] Hm... it seems to me a good idea to note somewhere in the manual that PHP (or Windows) searches for DLL's in %PATH% and %SYSTEM%. Reopening as a documentation problem. ------------------------------------------------------------------------ [2002-05-05 12:04:48] dong_peng at sd163 dot net Of course, it is NOT a bug of php. ------------------------------------------------------------------------ [2002-05-05 12:01:11] dong_peng at sd163 dot net After failed many times, I happened to find the cause. I think it maybe helpful for many people who reported or asked the same question that I have seen on www.php.net . It is the PATH has not been correctly set. When loading php_oci8.dll, this DLL file search for the other DLL file "oci.dll" in current directory, PATH environment and %SYSTEM%(on Windows). If oci.dll can not be found, the OS will tell you "Unable to load dynamic library : php_oci8.dll". If you installed Oracle RDBMS on your system, then the file "oci.dll" is in Oralce Home directory. So you must include "Oracle Home Directory " in PATH environment, on my computer it is "D:\Oracle\ora81\Bin". Perhaps, the same problem on different platform can be solved in same way, try it. I am lucky to find the cause in almost ten days, I hope people will not be worried about this problem any longer. Dong Peng Lanzhou Railway Universiy China 2002-5-6 00:06 ------------------------------------------------------------------------ [2002-05-04 05:15:29] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17002 -- Edit this bug report at http://bugs.php.net/?id=17002&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
