Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32075 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40920 invoked by uid 1010); 6 Sep 2007 08:02:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 40905 invoked from network); 6 Sep 2007 08:02:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2007 08:02:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=hartmut@mysql.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=hartmut@mysql.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain mysql.com from 213.136.52.68 cause and error) X-PHP-List-Original-Sender: hartmut@mysql.com X-Host-Fingerprint: 213.136.52.68 mailgate-out2.mysql.com Linux 2.5 (sometimes 2.4) (4) Received: from [213.136.52.68] ([213.136.52.68:46508] helo=mailgate.mysql.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4A/06-25837-024BFD64 for ; Thu, 06 Sep 2007 04:02:41 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.mysql.com (8.13.8/8.13.8) with ESMTP id l8681kFi006603; Thu, 6 Sep 2007 10:01:46 +0200 Received: from mail.mysql.com ([10.222.1.99]) by localhost (mailgate.mysql.com [10.222.1.98]) (amavisd-new, port 10026) with LMTP id 24459-07; Thu, 6 Sep 2007 10:01:45 +0200 (CEST) Received: from [10.100.64.53] (10-100-64-53.mysql.internal [10.100.64.53]) (authenticated bits=0) by mail.mysql.com (8.13.3/8.13.3) with ESMTP id l8681c7T003255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Sep 2007 10:01:41 +0200 Message-ID: <46DFB3E6.5070002@mysql.com> Date: Thu, 06 Sep 2007 10:01:42 +0200 Organization: MySQL AB User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061211 SeaMonkey/1.0.7 MIME-Version: 1.0 To: BuildSmart CC: PHP Developers Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at mailgate.mysql.com Subject: Re: [PHP-DEV] proof of concept or undocumented? From: hartmut@mysql.com (Hartmut Holzgraefe) BuildSmart wrote: > I see that the mysqli extension is essentially a wrapper and it obtains= =20 > the required libraries from the mysql_config script so if mysql is buil= t=20 > with ssl support the mysqli module will include this library and=20 > theoretically should work with ssl connections. >=20 > My question though is related to the mysql module itself which doesn't = > have any ARGS for ssl support or a method to automatically retrieve=20 > dependant libraries and is more of a client=20 When talking about "the mysql module" itself you're talking about ext/mysql, right? ext/mysql development has been discontinued in favor of ext/mysqli, one of the goals was to integrate support for exactly SSL and the other new connection options like gzip compressed connections that are available as of MySQL 4.1. See also http://php.net/mysql: Although this MySQL extension is compatible with MySQL 4.1.0 and greater, it doesn't support the extra functionality that these versions provide. For that, use the MySQLi extension. By that time the codebase of ext/mysql had become a bit of a mess. It was one of the first PHP extensions ever and there were a few design decisions made back then that made it almost impossible to add new features to the existing functions (e.g. the db handle being an optional parameter at the *end* of most functions argument list made it impractical to add any further parameters). The code was also full of conditional compile branches as it supported mysql client libraries back to at least MySQL 3.23. > so before submitting a > feature request , writing a proof of concept or working on code for a > capability that might already exists but is undocumented, I thought I'= d > ask first. It doesn't really make sense to add a feature request for a deprecated extension. All further development effort will go into ext/mysqli only. I just checked the manual pages for ext/mysql and ext/mysqli and found that we're not really making this clear in the documentation, i'll bring this up with the ext/mysqli maintainers today and we'll have http://php.net/mysql be more explicit about this. --=20 Hartmut Holzgraefe, Principal Support Engineer . Discover new MySQL Monitoring & Advisory features at: http://www.mysql.com/products/enterprise/whats_new.html Hauptsitz: MySQL GmbH, Dachauer Str.37, 80335 M=FCnchen Gesch=E4ftsf=FChrer: Kaj Arn=F6 - HRB M=FCnchen 162140