Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80261 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95405 invoked from network); 8 Jan 2015 00:45:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2015 00:45:48 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.47 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.218.47 mail-oi0-f47.google.com Received: from [209.85.218.47] ([209.85.218.47:54376] helo=mail-oi0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/E0-22693-B33DDA45 for ; Wed, 07 Jan 2015 19:45:48 -0500 Received: by mail-oi0-f47.google.com with SMTP id v63so5384134oia.6 for ; Wed, 07 Jan 2015 16:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=L30dKfHyyRQN4iM31QLFoqdoIEAiUU3GqOCUIyUZNlg=; b=DnMatmAYGUNGr6VYqD4xumIBmkhQ4c6XZohpOY/XJOss3ise1TqkK8iADf4dPRdxsW 9P2lgR2HBqDNbiTnyUpwsOfA73mB2dd5D8YSPqXu3R5bYBPbiog7YLrVN8rfYtE6Lzyt 27snEDb90anHPtRtzAlsOzxLxOvV2v++LxzrfFReG698MIJgvL4Q00U4Ojw5LvEkYMsD jBd/r51H8dZKm7zTvvP2U208uFIogfFpFcBamIjHarw+03mnGHw4gdjn7ftn49RL4/sv fnSxJARnDQAFJDXndKyZw7SjxDrvYvUGUJRE8b1+KBLvFxBRt6xm1HvmEKOtDaMtt7MU Vx+A== X-Received: by 10.60.103.138 with SMTP id fw10mr4013589oeb.18.1420677944729; Wed, 07 Jan 2015 16:45:44 -0800 (PST) Received: from [192.168.2.145] (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id ib6sm1917302obb.10.2015.01.07.16.45.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jan 2015 16:45:44 -0800 (PST) Message-ID: <54ADD333.3070208@gmail.com> Date: Wed, 07 Jan 2015 16:45:39 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Derick Rethans CC: francois@tekwire.net, 'Pierre Joye' , 'Sara Golemon' , 'Benjamin Eberlei' , 'PHP Internals' References: <54AAF98B.4020709@gmail.com> <001b01d029bb$fa687fc0$ef397f40$@tekwire.net> <54AC2D12.7060209@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Extension Prepend Files From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > There is currently no way to install an extension and a PHP library > package at the same time. "pecl" can't install PHP libraries, and Why it needs to be "at the same time"? I don't see any use case where it would matter if you run one command or two commands to install it. In fact, if it's such a problem there are many tools that allow you to perform multiple actions by running one command. Various package managers all do that, for example. > "composer" can't install extensions. And even if it did, keeping the > versions in sync is not easy at all. Only way to solve this properly is It seems to me you're reinventing packaging systems. I don't see why we should invent our own and why our own should take form of putting PHP code into compiled binaries (yet less why suddenly it is the "only way"). Many languages have extension systems and packages that involve binaries - Perl, Python, Ruby, etc. AFAIK none of them puts source code into binaries. -- Stas Malyshev smalyshev@gmail.com