Bug #12502 Updated: oci8.dll can't be loaded
| From: | jmgonzal at netred dot cl | Date: | Thu, 02 Aug 2001 15:56:01 +0000 |
| Subject: | Bug #12502 Updated: oci8.dll can't be loaded | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61828@lists.php.net to get a copy of this message | ||
ID: 12502
User updated by: jmgonzal@netred.cl
Reported By: jmgonzal@netred.cl
Status: Open
Bug Type: OCI8 related
Operating System: WinNT and Windows 2000
PHP Version: 4.0.6
New Comment:
I found in the faqs the following (exactly the same problem)
"This problem was also seen under the ODBC drivers for Windows. The solution so far has
been to remove all Windows based carriage returns (\r\n) in your TNSNames.ora and
SQLNet.ora file, and replace them with unix style carriage returns (\n).
This should end your problem. Why is this happening? It's unknown at the time, but is
being investigated.
"
I convert this 2 files to Unix format (only \n) but the problem still happend.
any help?
Previous Comments:
------------------------------------------------------------------------
[2001-08-01 21:54:15] jmgonzal@netred.cl
Sniper,
I change my php.ini
I comment php_oci8.dll
and uncomment php_oracle.dll
This work.
But now I recieve the following problem:
TNS:could not resolve service name
I try with
$db= ora_logon("demo_user/demo_password@demo","");
This TNS exist and the user and the password too.
(this is the right place for this question?)
thank you again.
------------------------------------------------------------------------
[2001-08-01 15:58:57] jmgonzal@netred.cl
I don't understand this program.
Please check this image :
http://www.netred.cl/php.jpg
(image of my screen).
------------------------------------------------------------------------
[2001-08-01 10:20:42] sniper@php.net
to look on which external dlls an exe or an dll is relying you can use the dependency walker -
http://www.dependencywalker.com/
------------------------------------------------------------------------
[2001-08-01 09:39:41] jmgonzal@netred.cl
I put
extension_dir = "c:\php\extensions\"
and now the error is:
Unable to load dynamic library 'c:\php\extensions\php_oci8.dll'
the file php_oci8.dll exist in c:\php\extensions\
------------------------------------------------------------------------
[2001-08-01 09:26:31] sniper@php.net
For some putting "' around the path has helped..
And terminate it with a \
------------------------------------------------------------------------
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/?id=12502
Edit this bug report at http://bugs.php.net/?id=12502&edit=1