Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48808 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9776 invoked from network); 16 Jun 2010 17:44:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2010 17:44:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@hristov.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@hristov.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain hristov.com from 85.92.87.36 cause and error) X-PHP-List-Original-Sender: php@hristov.com X-Host-Fingerprint: 85.92.87.36 iko.gotobg.net Linux 2.6 Received: from [85.92.87.36] ([85.92.87.36:35994] helo=iko.gotobg.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/70-16489-36D091C4 for ; Wed, 16 Jun 2010 13:44:04 -0400 Received: from f051136244.adsl.alicedsl.de ([78.51.136.244] helo=[192.168.1.127]) by iko.gotobg.net with esmtpa (Exim 4.69) (envelope-from ) id 1OOweO-0008BQ-5F; Wed, 16 Jun 2010 20:43:44 +0300 Message-ID: <4C190D58.2090205@hristov.com> Date: Wed, 16 Jun 2010 19:43:52 +0200 User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Kalle Sommer Nielsen CC: Ilia Alshanetsky , Patrick ALLAERT , Adam Harvey , internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - iko.gotobg.net X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hristov.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: [PHP-DEV] Remove sqlite2 from trunk From: php@hristov.com (Andrey Hristov) Kalle, Kalle Sommer Nielsen wrote: > 2010/6/15 Ilia Alshanetsky : >> There is way too much code that uses ext/mysql and ext/mysql does not depend >> on a legacy library, I don't think we can remove it. As far as mssql, it is >> the one way to talk to Microsoft SQL from *nix systems, until there are good >> alternatives for a direct interface, I don't think we should remove it. > > FreeTDS have an odbc wrapper, which means that it will work with > ext/odbc and pdo_odbc aswell, the migration is rather simple here and > i think it will be beneficial for both us and the users. > > As for mysql, I know libmysql is maintained, which is fine and all, > but I think its time to deprecate it and consider removing it in > favour of mysqli which we have been trying to promote. Like johannes > said, a wrapper could be written in either native php, or in C level > and im willing to help out with that, if thats the way we need to do > it. since ages a tool exists : http://forge.mysql.com/wiki/Converting_to_MySQLi which converts calls to mysql in calls to mysqli. The result might not be pretty but works. As far as I recall it was tested with phpMyAdmin and worked. > Tutorials and articles that builds on mysql is unfortunate when we > want to prommote mysqli, but if we want to change it, i think now is > better than never, because people will continue to write articles > about it if its still exists within the main distro. > > > Andrey