#24023 [NEW]: Extension issues with mssql / sybase_ct
| From: | andrew at solutionsfirst dot com dot au | Date: | Wed, 04 Jun 2003 17:19:43 +0000 |
| Subject: | #24023 [NEW]: Extension issues with mssql / sybase_ct | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17018@lists.php.net to get a copy of this message | ||
From: andrew at solutionsfirst dot com dot au
Operating system: Debian/GNU Linux
PHP version: 4.3.1
PHP Bug Type: PEAR related
Bug description: Extension issues with mssql / sybase_ct
Hi,
On a plain vanilla i386 Debian system I've installed apache, php4,
php4-pear and php4-sybase via apt-get. While native PHP functions for
MSSQL work fine, connections to a database via PEAR DB abstraction reports
"DB Error: extension not found". The DSN string starts as "mssql://".
At /usr/share/pear/DB/mssql.php:56, the following line incorrect because
mssql.so nor sybase.so are ever installed via Debian packages to my
knowledge; only sybase_ct.so.
if (!DB::assertExtension('mssql') &&
!DB::assertExtension('sybase'))
Using the following replacement line seems to correct the problem for me.
if (!DB::assertExtension('sybase_ct'))
This may be a Debian packaging issue only, but I'm not certain.
Thanks,
- Andrew
--
Edit bug report at http://bugs.php.net/?id=24023&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24023&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24023&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24023&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24023&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24023&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24023&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24023&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24023&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24023&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24023&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24023&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24023&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24023&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24023&r=gnused