Re: [PHP-DB] Error loading module: Unable to load dynamic library

2004-06-07 Thread Philippe
Thank you, that got me in the right direction. The OCI.DLL file on my 
system was an older version and dependency walker determined this. After 
that it was a simple matter of finding the right file version.
Thanks!

Christopher Jones wrote:
Philippe wrote:
Well, the exact message is: Unable to load dynamic library 
php_oci8.dll: The specified procedure could not be found
If I remove the library the message becomes The specified module 
could not be found. It seems to be able to find the library (all the 
paths are correct) but it seems that this php_oci8.dll file is the 
wrong version or that it is looking for an additional DLL that it 
can't find OR that it can find the additional DLL but it is the wrong 
version. If I only knew what DLL was needed!
Philippe

The common problem would be that php_oci8.dll cannot find Oracle's 
libraries.
Have you elimated this as the problem?

There are a coupel of things to try:
(i) Check phpinfo() output.  Make sure PATH in the Apache env section 
contains
the Oracle bin directory.  If this is not clear in my FAQ, please let me 
know
so I can update the FAQ.  Currently
   
http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html#envvars 

says:
If Apache starts but gives errors about Oracle libraries and/or
OCI8 function calls fail, try looking at PHP's environment. Create
the following script phpinfo.php where your web server can read
it and load it in a browser:
?php
  phpinfo();
?
Triple-check the environment and path configuration. On UNIX check
that LD_LIBRARY_PATH (or equivalent) contains $ORACLE_HOME/lib. On
Windows the PATH variable may need to contain %ORACLE_HOME%\bin.
(ii) Install http://www.dependencywalker.com/ and run it on php_oci8.dll
I'll look into adding a comment about this utility in the next FAQ update.
Chris
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Error loading module: Unable to load dynamic library

2004-06-06 Thread Christopher Jones
Philippe wrote:
Well, the exact message is: Unable to load dynamic library 
php_oci8.dll: The specified procedure could not be found
If I remove the library the message becomes The specified module could 
not be found. It seems to be able to find the library (all the paths 
are correct) but it seems that this php_oci8.dll file is the wrong 
version or that it is looking for an additional DLL that it can't find 
OR that it can find the additional DLL but it is the wrong version. If I 
only knew what DLL was needed!
Philippe

The common problem would be that php_oci8.dll cannot find Oracle's libraries.
Have you elimated this as the problem?
There are a coupel of things to try:
(i) Check phpinfo() output.  Make sure PATH in the Apache env section contains
the Oracle bin directory.  If this is not clear in my FAQ, please let me know
so I can update the FAQ.  Currently
   http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html#envvars
says:
If Apache starts but gives errors about Oracle libraries and/or
OCI8 function calls fail, try looking at PHP's environment. Create
the following script phpinfo.php where your web server can read
it and load it in a browser:
?php
  phpinfo();
?
Triple-check the environment and path configuration. On UNIX check
that LD_LIBRARY_PATH (or equivalent) contains $ORACLE_HOME/lib. On
Windows the PATH variable may need to contain %ORACLE_HOME%\bin.
(ii) Install http://www.dependencywalker.com/ and run it on php_oci8.dll
I'll look into adding a comment about this utility in the next FAQ update.
Chris
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Error loading module: Unable to load dynamic library 'c:\tools\php\extensions\php_oci8.dll' - The specified procedure could not be found

2004-06-05 Thread Phlippe
Yes, and as I was writing earlier, the message talks about a missing 
procedure. If I remove the file temporarily, the message talks about a 
missing library. So I think it can find the file OK, but that this 
php_oci8.dll file is the wrong version or that it is looking for an 
additional DLL that it can't find OR that it can find the additional DLL 
but it is the wrong version. If I only knew what DLL was needed!

Daniel Clark wrote:
Is the file in c:\tools\php\extensions\php_oci8.dll ?

Hi,
I am experiencing the message in the title of this message when starting 
or restarting Apache. I have the following configuration:

- Windows XP
- Apache 2.0.49
- PHP 4.3.6
- Oracle Client 8i
If anyone has any information as to why this is happening and how I can 
solve it, I would be very grateful. Thanks.

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



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


Re: [PHP-DB] Error loading module: Unable to load dynamic library 'c:\tools\php\extensions\php_oci8.dll' - The specified procedure could not be found

2004-06-04 Thread Christopher Jones

Philippe wrote:
Hi,
I am experiencing the message in the title of this message when starting 
or restarting Apache. I have the following configuration:

- Windows XP
- Apache 2.0.49
- PHP 4.3.6
- Oracle Client 8i
If anyone has any information as to why this is happening and how I can 
solve it, I would be very grateful. Thanks.

There might be something in
  http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html
that helps.
Does your Oracle 8i DB work OK on XP independent of PHP?  I forget when/if
this combo was certified.
Chris
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Error loading module: Unable to load dynamic library

2004-06-04 Thread Philippe
Thanks for your quick reply, Chris. My oracle 8i client setup does work 
on XP independently of PHP. I can connect to Oracle using PERL, ODBC, 
Java as well as a database management tool called Aqua Data Studio which 
uses native connections.

Christopher Jones wrote:

Philippe wrote:
Hi,
I am experiencing the message in the title of this message when 
starting or restarting Apache. I have the following configuration:

- Windows XP
- Apache 2.0.49
- PHP 4.3.6
- Oracle Client 8i
If anyone has any information as to why this is happening and how I 
can solve it, I would be very grateful. Thanks.

There might be something in
  http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html
that helps.
Does your Oracle 8i DB work OK on XP independent of PHP?  I forget when/if
this combo was certified.
Chris
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP-DB] Error loading module: Unable to load dynamic library

2004-06-04 Thread Christopher Jones
The error sounds like an environment problem.  Check phpinfo()
to see what paths are being used - see the FAQ.
Chris
Philippe wrote:
Thanks for your quick reply, Chris. My oracle 8i client setup does work 
on XP independently of PHP. I can connect to Oracle using PERL, ODBC, 
Java as well as a database management tool called Aqua Data Studio which 
uses native connections.

Christopher Jones wrote:

Philippe wrote:
Hi,
I am experiencing the message in the title of this message when 
starting or restarting Apache. I have the following configuration:

- Windows XP
- Apache 2.0.49
- PHP 4.3.6
- Oracle Client 8i
If anyone has any information as to why this is happening and how I 
can solve it, I would be very grateful. Thanks.

There might be something in
  http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html
that helps.
Does your Oracle 8i DB work OK on XP independent of PHP?  I forget 
when/if
this combo was certified.

Chris

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


Re: [PHP-DB] Error loading module: Unable to load dynamic library

2004-06-04 Thread Philippe
Well, the exact message is: Unable to load dynamic library 
php_oci8.dll: The specified procedure could not be found
If I remove the library the message becomes The specified module could 
not be found. It seems to be able to find the library (all the paths 
are correct) but it seems that this php_oci8.dll file is the wrong 
version or that it is looking for an additional DLL that it can't find 
OR that it can find the additional DLL but it is the wrong version. If I 
only knew what DLL was needed!
Philippe

Christopher Jones wrote:
The error sounds like an environment problem.  Check phpinfo()
to see what paths are being used - see the FAQ.
Chris
Philippe wrote:
Thanks for your quick reply, Chris. My oracle 8i client setup does 
work on XP independently of PHP. I can connect to Oracle using PERL, 
ODBC, Java as well as a database management tool called Aqua Data 
Studio which uses native connections.

Christopher Jones wrote:

Philippe wrote:
Hi,
I am experiencing the message in the title of this message when 
starting or restarting Apache. I have the following configuration:

- Windows XP
- Apache 2.0.49
- PHP 4.3.6
- Oracle Client 8i
If anyone has any information as to why this is happening and how I 
can solve it, I would be very grateful. Thanks.

There might be something in
  http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html
that helps.
Does your Oracle 8i DB work OK on XP independent of PHP?  I forget 
when/if
this combo was certified.

Chris


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


Re: [PHP-DB] Error loading module: Unable to load dynamic library 'c:\tools\php\extensions\php_oci8.dll' - The specified procedure could not be found

2004-06-04 Thread Daniel Clark
Is the file in c:\tools\php\extensions\php_oci8.dll ?

Hi,
I am experiencing the message in the title of this message when starting 
or restarting Apache. I have the following configuration:

- Windows XP
- Apache 2.0.49
- PHP 4.3.6
- Oracle Client 8i

If anyone has any information as to why this is happening and how I can 
solve it, I would be very grateful. Thanks.

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