ID: 45402 Updated by: [EMAIL PROTECTED] Reported By: fborot at hotmail dot com -Status: Open +Status: Feedback Bug Type: Sybase (dblib) related Operating System: redhat PHP Version: 5.2.6 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Please check the output of phpinfo() to see whether sybase support was laoded, if it's missing check the configure line mentioned on top of that page and check configure.log in your build directory. Previous Comments: ------------------------------------------------------------------------ [2008-07-01 14:02:05] fborot at hotmail dot com 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 this bug report at http://bugs.php.net/?id=45402&edit=1
