php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9626 unable to use sybase-extension
Submitted: 2001-03-08 10:51 UTC Modified: 2001-03-14 16:26 UTC
From: trond dot straume at online dot no Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.4pl1 OS: win2000
Private report: No CVE-ID: None
 [2001-03-08 10:51 UTC] trond dot straume at online dot no
When I am trying to connect a sybase-database using the php_sybase_ct.dll module, but all I get is a pop-up window telling:

"Unable to load dynamic library './extensions/php_sybase-ct.dll' - The
dynamic library could not be found.".

I have really worked hard on this one. I'm sure that the path is correct spelled in php.ini, because the postgreSQL-dll placed in the same directory and it's working out fine.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-13 06:18 UTC] dbeu@php.net
can you please download the dependcy walker and check if all external dlls are found?
http://www.dependencywalker.com
 [2001-03-13 07:04 UTC] trond dot straume at online dot no
libct.dll, libcs.dll and php4ts.dll are not found. Where can I find these dll's and where should I place them?

I'm getting pretty desperate here, so if you have any solutions, I would be very glad.

--
Trond Straume
 [2001-03-13 09:34 UTC] trond dot straume at online dot no
After following your guide, I've no longer errors on php-sybase-ct.dll when opening it in dependency walker.

However, I've still got problems using the sybase-functions. sybase_connect for example, returns:

Warning: Sybase: Unable to allocate connection record in c:\internweb\html\trond\sybase.php on line 21

When running from the dos-prompt, the same good'ol error: Call to undefined function is displayed.

What is wrong?
 [2001-03-13 10:16 UTC] trond dot straume at online dot no
After following your guide, I've no longer errors on php-sybase-ct.dll when opening it in dependency walker.

However, I've still got problems using the sybase-functions. sybase_connect for example, returns:

Warning: Sybase: Unable to allocate connection record in c:\internweb\html\trond\sybase.php on line 21

When running from the dos-prompt, the same good'ol error: Call to undefined function is displayed.

What is wrong?
 [2001-03-13 17:28 UTC] trond dot straume at online dot no
Sybase Open Client - EBF 9464 12.0 05 Feb 2001 EBF/Patch     

I have downloaded this client from sybase, which includes the requested dll's. I have also added the the subdirectory called dll to my system path. After a reboot no errors occurred while running dependcy walker on php-sybase-ct.dll, but I still got this weird "warning" from php.
 [2001-03-13 17:29 UTC] trond dot straume at online dot no
PS! The subdirectory "dll" is a subdirectory of open client.
 [2001-03-14 16:26 UTC] joey@php.net
Never was a PHP bug. :)
 [2002-01-23 07:34 UTC] cedric at odra dot fr
BIG BUG ON PHP ...
you wil obliged to run walker ?
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue May 18 18:01:23 2021 UTC