Sybase connection

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
This is the first time I need to connect via PHP to a Sybase DB.
I'm working with PHP5 and Apache 2 under WinXP... no problem
connecting with Mysql...
I enabled in php.ini the correct dll: "php_sybase_ct.dll" but when I
restart Apache got this error:

PHP Startup: Unable to load dynamic library 'c:\php\php_sybase_ct.dll'
- Can't find the specified module

I read that the library needs Sybase DLL: on my PC I installed the
whole Sybase SQL Studio 8 (it works fine) but no result... the
php_sybase_ct.dll is in the same dir as the other DLLs (c:\php) and
Sybase is in c:\programs\sybase...
What can I do?

Re: Sybase connection

Luke wrote:
Quoted text here. Click to load it

Locate the Sybase dll and copy it to the system32 dir of your WINDOWS/WINNT

When this doesn't work try registering the dll, e.g. with:

regsvr32 sybase.dll


Re: Sybase connection

Luke wrote:
Quoted text here. Click to load it

Add the sybase directory to your PATH environment variable.


Re: Sybase connection

On Sun, 1 Aug 2004 00:34:34 +0200, "Berislav Lopac"

Quoted text here. Click to load it

Thanks for you reply...
I tried... my path is:

Central 4.1

but nothing changes :-/ The same error... is there a way to know
exactly which DLLs the php_sybase_ct.dll needs?
Thanks again!

Site Timeline