Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #12697 Won't use sybase_ct extension
Submitted: 2007-12-14 23:42 UTC
From: snover Assigned: quipo
Status: Closed Package: MDB2_Driver_mssql (version 1.2.1)
PHP Version: 5.2.1 OS: Ubuntu 7.04
Roadmaps: (Not assigned)    

 [2007-12-14 23:42 UTC] snover (Colin Snover)
Description: ------------ MDB2_Driver_mssql fails to load with an error "extension mssql is not compiled into PHP" even if the functions required are available. Notably, the sybase_ct extension for PHP seems to provide the same functions as the mssql extension and seems to work with MDB2_Driver_mssql. Removing the test at mssql.php:314 or changing it to check for sybase_ct allows MDB2_Driver_mssql to function. Test script: --------------- <?php require('MDB2.php'); $dsn = 'mssql://user:pass@server/db'; $db =& MDB2::connect($dsn, $options); if (PEAR::isError($db)) { die($db->getMessage()); } ?> Expected result: ---------------- Database connects successfully without error because sybase_ct is installed Actual result: -------------- "extension mssql is not compiled into PHP"


 [2007-12-15 08:50 UTC] quipo (Lorenzo Alberton)
Please fetch the CVS version