php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2656 sybase_connect() unsupported.
Submitted: 1999-11-03 03:15 UTC Modified: 2001-02-10 15:24 UTC
From: rdcwajr at rdc dot etc dot ericcsson dot se Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 3.0.12 OS: solaris 260
Private report: No CVE-ID: None
 [1999-11-03 03:15 UTC] rdcwajr at rdc dot etc dot ericcsson dot se
i configure php as following:
./configure --with-apache=/opt/apache/apache_1.3.9 --with-config-file-path=/opt/apache/etc --with-sybase=/opt/sybase --with-sybase-ct=/opt/sybase --enable-track=vars

and my te.php3 is
<html>
    <head>
        <title>Example</title>
    </head>
    <body>
<br>
<?php
$openid=sybase_connect("eao1sh20068","sa","");
sybase_close($openid);
?>
<br>

</body>
</html>
     
the result is:
Fatal error: Call to unsupported or undefined function sybase_connect() in /opt/apache/share/htdocs/php/te.php3 on line 8
my sybase is 11.5

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-02 12:52 UTC] joey at cvs dot php dot net
Take out either --with-sybase or --with-sybase-ct.
I reccomend ct-lib. Also, check you phpinfo() to 
make sure that sybase got in...
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jan 26 05:01:24 2020 UTC