Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52949 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23917 invoked from network); 5 Jun 2011 17:47:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2011 17:47:54 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.185 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.185 c2beaomr07.btconnect.com Received: from [213.123.26.185] ([213.123.26.185:42329] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/85-26000-841CBED4 for ; Sun, 05 Jun 2011 13:47:53 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2beaomr07.btconnect.com with ESMTP id DCS61560; Sun, 05 Jun 2011 18:47:49 +0100 (BST) Message-ID: <4DEBC13F.4090706@lsces.co.uk> Date: Sun, 05 Jun 2011 18:47:43 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-2.2 SeaMonkey/2.0.14 MIME-Version: 1.0 To: PHP internals , Andi Gutmans References: <8757232E56758B42B2EE4F9D2CA019C901499F97@US-EX2.zend.net> In-Reply-To: <8757232E56758B42B2EE4F9D2CA019C901499F97@US-EX2.zend.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0301.4DEBC144.00FF, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.6.5.165123:17:7.586, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __CP_URI_IN_BODY, __SUBJECT_ENDING_IN_LATIN_OR_NUMERALS, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2beaomr07.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0208.4DEBC145.0110,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Bundling "modern" extensions From: lester@lsces.co.uk (Lester Caine) (Andi - I sent this before going out this morning - but I can't see it on the list this evening ... ) Andi Gutmans wrote: > I think one of the problems is that in the past we always ensured that the extensions for key current technologies were bundled with PHP i.e. mysql, json& soap/xml. This was one of our biggest strengths and advantages and it would propagate to Linux distros, shared hosting, etc.. Therefore, I think we should move towards bundling some of the key extensions to ensure they are easily found by people esp. when people are getting them via third parties. I think people are missing one of the MAIN things here! How many Linux distributions provide PHP as a single package? NOTHING needs to be bundled with PHP with the modern methods of package management. We just need to fully document and support adding new packages to the distributed network of what is available. My SUSE 11.4 package list gives a number of perfectly stable third party packages as well as the 'main stream' extensions. It WOULD be nice to restore the parallel system for Windows with the same configuration of matching packages? What also works nicely for me is the distributed .ini structure that SUSE introduced. Rather than the vast list of extra package data in php.ini, it is simply stripped out to the relevant package.ini file. Switching packages on and off is just a matter of adding .off to the end of the .ini file name and straight away I can see what I've disabled to test something out. I would then suggest that some of the things that are currently bundled could also be stripped out to allow finer control. Mysqlnd is a case in point. Why should I have to build my own copy of PHP just to remove that when there is no difference in it being made a shared package? Why do I need APC when I'm happily using eaccelerator ... and so on ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php