php_oci8.dll

php_oci8.dll

am 27.07.2006 20:46:31 von mcardoso

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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: php_oci8.dll

am 28.07.2006 01:41:19 von Chris

Marcos R. Cardoso wrote:
> 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

I assume this error message will tell us the problem.

What does it translate to?

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: php_oci8.dll

am 28.07.2006 19:43:06 von Christopher Jones

Marcos R. Cardoso wrote:
> 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

I've seen this when php_oci8.dll can't find the Oracle libraries.
A tool like listdlls will help show what's happening.

In case it helps, there are various installation hints for PHP 5
and OCI8 in http://www.oracle.com/technology/tech/php/htdocs/php_trouble shooting_faq.html#notinst

If you're using a DB (version 8,9 or 10) on another machine
check the steps on using PHP with Oracle Instant Client, this
should be easier to work with the the full Oracle client.

Chris


--
Christopher Jones, Oracle Corporation, Australia.
Email: Christopher.Jones@oracle.com Tel: +61 3 8616 3622
Blog: http://blogs.oracle.com/opal/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php