PHP and Sybase under Win2000 and IIS5
| From: | Lars Truijens | Date: | Mon, 06 Nov 2000 15:35:23 +0000 |
| Subject: | PHP and Sybase under Win2000 and IIS5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23901@lists.php.net to get a copy of this message | ||
Hello all,
How can I connect to a Sybase SQL Anywhere 7 database
with PHP 4 running under InternetInformationServer 5?
Sybase, PHP and IIS are all running under Win2000 Pro.
I have tried the following:
<?php
$connection = sybase_connect("SybaseService","DBA","SQL")
or die("Couldn't make connection.");
?>
But PHP answer this with:
Fatal error: Call to undefined function: sybase_connect() in
c:\inetpub\wwwroot\phpsybasetest.php on line 3
Loading the exetension DLL php_sybase_ct.dll gave another
unresolvable error and I'm not sure that is the right DLL.
Can someone please answer my quesntion?
Thank you very much,
Lars Truijens
PS: Sorry for the double post...