|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-04 14:33 UTC] mw21st@php.net
[2003-06-07 02:19 UTC] andrew at solutionsfirst dot com dot au
[2003-06-07 14:29 UTC] mw21st@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 06:00:01 2025 UTC |
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