#17002 [Com]: Unable to load php_oci8.dll ONLY in command line mode
| From: | nelo at icubestudio dot com | Date: | Tue, 01 Apr 2003 20:11:34 +0000 |
| Subject: | #17002 [Com]: Unable to load php_oci8.dll ONLY in command line mode | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352422@lists.php.net to get a copy of this message | ||
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] philip@php.net
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] sander@php.net
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] mfischer@php.net
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