Connection to Sybase again :-(

wxdqz

New Member
Sorry to bother you with this subject again but I've read every entry in the forum that handles this subject and none of them could help me. How do I convince php that it can connect to a Sybase database? Winnt, php403, xitami.
My request: sybase_connect("srv", "uid", "pwd")
PHP's answer: Call to undefined function: sybase_connect()

I've tried:
1. adding a directory 'extentions' in the directory where php is installed; I put php_sybase_ct.dll in it
2. creating this line in php.ini:
extension=php_sybase_ct.dll
(removed the semicolon). Fiddled with the extension_dir. But the thing still cannot find php_sybase_ct.dll

One person on this forum said:
"Please, when compiling PHP, enable only the CT-LIB version, i.e.
./configure --with-sybase-ct=/opt/sybase
(or some other path) "

But what does this mean? I'm a windows guy and would like to just change a setting and have it all work. Is it really necessary to recompile? And how do I recompile; I don't have a clue.

Help...
Arne
 
Back
Top