Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55142 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64771 invoked from network); 3 Sep 2011 10:10:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Sep 2011 10:10:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=tokul@users.sourceforge.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tokul@users.sourceforge.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain users.sourceforge.net from 77.240.252.9 cause and error) X-PHP-List-Original-Sender: tokul@users.sourceforge.net X-Host-Fingerprint: 77.240.252.9 avilys.eik.lt Linux 2.6 Received: from [77.240.252.9] ([77.240.252.9:40144] helo=avilys.eik.lt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/72-45280-C0DF16E4 for ; Sat, 03 Sep 2011 06:10:21 -0400 Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id ADD891F5173 for ; Sat, 3 Sep 2011 13:10:17 +0300 (EEST) Received: from 86.38.184.222 (NaSMail authenticated user tomas@topolis.lt) by avilys.eik.lt with HTTP; Sat, 3 Sep 2011 13:10:17 +0300 (EEST) Message-ID: <52367.5626b8de.1315044617.nsm@avilys.eik.lt> In-Reply-To: <4E61EE07.8030402@lsces.co.uk> References: <4E61EE07.8030402@lsces.co.uk> Date: Sat, 3 Sep 2011 13:10:17 +0300 (EEST) To: internals@lists.php.net User-Agent: NaSMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: =?utf-8?Q?Re:_[PHP-DEV]_Why_does_mysqlnd_get_included_in_Linux_'core'_PHP?= =?utf-8?Q?5_packages=3F?= From: tokul@users.sourceforge.net ("Tomas Kuliavas") 2011.09.03 12:06 Lester Caine rašė: > New thread ... > >>> My SUSE installs all have mysqlnd included in the core, As do other >>> Linux distributions. I think for much the same reason that the windows >>> builds do as well? The PHP development team have decided that >>> -without-mysqlnd is required to remove it rather than -with-mysqlnd is >>> with other optional packages. THAT decision determines what the >>> distributions all do and flags mysqlnd as a core package? >> But I just told you that wasn't the case. Try it yourself. Download the >> PHP tarball on your SUSE box and do ./configure && make >> Show me where mysqlnd is linked in. It isn't. > > OK done that ... > > http://lsces.co.uk/PHP/testphpinfo.php is the current PHP install managed > via > SUSE. Additional .ini files shows what I've added from the package manager > (and > my own extension builds), yet mysqlnd is listed as well. > > I will put my hands up that I am only _building_ my own distributions on > windows, but since the core packages I am seeing on SUSE and Mandriva are > the > same as a default windows build, as provided by phpinfo(), I did assume > php was > doing the same thing on Linux as windows. It would be useful if they DID > do the > same thing? But now the question is why do the Linux distributions do what > they do? SuSE builds PHP with --with-mysql=shared,mysqlnd. IMHO php-mysql is suggested when you install php package. It is not required. Debian, Mandriva and Fedora build PHP with '--with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config'. You haven't checked Mandriva's PHP build and assumed that it is the same as on SuSE. You can always check ./configure options in their source packages. Mysqlnd is new PHP feature and Linuxes used 'shared,/usr' for ages. -- Tomas