#45402 [NEW]: Call to undefined function sybase_connect()
| From: | fborot at hotmail dot com | Date: | Tue, 01 Jul 2008 14:02:05 +0000 |
| Subject: | #45402 [NEW]: Call to undefined function sybase_connect() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-126151@lists.php.net to get a copy of this message | ||
From: fborot at hotmail dot com
Operating system: redhat
PHP version: 5.2.6
PHP Bug Type: Sybase (dblib) related
Bug description: Call to undefined function sybase_connect()
Description:
------------
I compiled php 5 with sybase support ,[./configure
--prefix=/usr/local/php5 --with-mysql=/usr/bin/mysql
--with-sybase=/opt/sybase-11.9.2/OCS-15_0/] now when I run this script
<?php
// create connection
$connection = sybase_connect("ip","user","passwd");
// test connection
if (!$connection) {
echo "Couldn't make a connection!";
exit;
}
the browser shows
Fatal error: Call to undefined function sybase_connect() in
/usr/local/apache2/htdocs/scon.php on line 4
--
Edit bug report at http://bugs.php.net/?id=45402&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45402&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45402&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45402&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45402&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45402&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45402&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45402&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45402&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45402&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45402&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45402&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45402&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45402&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45402&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45402&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45402&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45402&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45402&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45402&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45402&r=mysqlcfg