If I'm not wrong the Oracle client libraries are located in the
'c:\orant\bin' and this information is stored in the environment
variable PATH as I wrote in the previous e-mail.
And, according to the Oracle Installer, I installed only the Oracle Net8
Products 8.0.6.0-1181195 section in the Web server, including Oracle
Net8 Assistant, Oracle Net8 Client, Oracle Named Pipes Protocol Adapter,
Oracle TCP/IP Protocol Adapter, etc.
Still trying to figure out here.
Rogers, Paul (Brackell IT) escreveu:
Marcos
I think the same message appears if the php_oci8.dll can't find the oracle client libraries. Do you have the directory with the client libraries in included in your path?
Which client are you using? the full one, or the instant client?
Paul
-----Original Message-----
From: Marcos R. Cardoso [mailto:mcardoso@xxxxxxx]
Sent: 27 July 2006 20:58
To: php-windows@xxxxxxxxxxxxx
Subject: php_oci8.dll
I'm experiencing a disturbing problem with PHP 4.4.2, Win 2003 Server,
Apache 2.0.58 and Oracle 9i.
I've installed all the previously listed in a Web Server (though I've
installed only the Net Client from Oracle 9i), but somehow there's a
problem with the library php_oci8.dll
Whenever I start the Apache2 service the following messages are written
in Apache's error.log file:
PHP Warning: Unknown(): Unable to load dynamic library
'C:\\php\\extensions\\php_oci8.dll' - N\xe3o foi poss\xedvel encontrar o
m\xf3dulo especificado.\r\n in Unknown on line 0
[Thu Jul 27 14:49:55 2006] [notice] Apache/2.0.58 (Win32) mod_ssl/2.0.55
OpenSSL/0.9.8b PHP/4.4.2 configured -- resuming normal operations
[Thu Jul 27 14:49:55 2006] [notice] Server built: Apr 29 2006 17:47:10
[Thu Jul 27 14:49:55 2006] [notice] Parent: Created child process 1460
PHP Warning: Unknown(): Unable to load dynamic library
'C:\\php\\extensions\\php_oci8.dll' - N\xe3o foi poss\xedvel encontrar o
m\xf3dulo especificado.\r\n in Unknown on line 0
[Thu Jul 27 14:49:56 2006] [notice] Child 1460: Child process is running
[Thu Jul 27 14:49:56 2006] [notice] Child 1460: Acquired the start mutex.
[Thu Jul 27 14:49:56 2006] [notice] Child 1460: Starting 250 worker
threads.
*The message in portuguese means "It wasn't possible to find the
specified module."
In the php.ini file I've used the following settings:
extension_dir = "C:\php\extensions"
extension=php_gd2.dll
extension=php_java.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_oci8.dll
extension=php_openssl.dll
extension=php_pdf.dll
extension=php_zip.dll
I've tried to copy the php_oci8.dll to the c:\windows\system32 folder
but I had no success either. And the environment variable PATH contains
the "c:\orant\bin" which contains the libraries used by Oracle to
connect to the database. So, php_oci8.dll is the only library which is
causing problems and I still couldn't find why.
TIA
--
Marcos R. Cardoso
Seção de Processamento Técnico e Automação
Sistema Integrado de Bibliotecas
FURB - Blumenau
(047) 3321-0660
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php