Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51714 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55230 invoked from network); 16 Mar 2011 17:55:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2011 17:55:08 -0000 Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:44991] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/25-22505-B79F08D4 for ; Wed, 16 Mar 2011 12:55:07 -0500 Received: by fxm1 with SMTP id 1so1896685fxm.29 for ; Wed, 16 Mar 2011 10:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1NPymbB+JlsPxmMZWlx9dr2XnWuZjN/TroJozk9rnTs=; b=Z2q3K06qfuM5ufZFw0uK/DJANyagBWIHIhKvtBMG1OtElRqEw5zgg3AFYINeKW0SeX HEZTpw/yeqthd73khqjJGlq+rPN4J8C5T8TfCvf5ODNaMTkIAKm2b3EGyXps/s3sKV9b A7Mr+9JkV5JKFO/qHrZDnR2suKZdA3SKpcbWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=nqs9YKh83u0yqndlyd6puENZvXCL4P/kTKPsVhkCp+jkwkc1YyE0cgZA9eFfX8/FWK 63gu//9epbzbEJ9vFtWZH40QxmxLA+zJ8Ld5swrTtZFKsFWFChtELk6SWJHH5bo1RsZA AXM2rU/NVEU4PmUj8Ibj3Mlu5l0x8lh1hBOlg= Received: by 10.223.30.77 with SMTP id t13mr291645fac.112.1300298104264; Wed, 16 Mar 2011 10:55:04 -0700 (PDT) Received: from [192.168.1.26] (17.Red-83-52-184.dynamicIP.rima-tde.net [83.52.184.17]) by mx.google.com with ESMTPS id r24sm74935fax.3.2011.03.16.10.55.01 (version=SSLv3 cipher=OTHER); Wed, 16 Mar 2011 10:55:02 -0700 (PDT) Message-ID: <4D80FA7D.6070905@gmail.com> Date: Wed, 16 Mar 2011 18:59:25 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: Olivier Hoareau , PHP Developers Mailing List References: <50863.5626b73e.1300221859.nsm@avilys.eik.lt> <44236.5626b73e.1300255349.nsm@avilys.eik.lt> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Package php binaries + php script into one single executable file From: keisial@gmail.com ("=?ISO-8859-1?Q?=C1ngel_Gonz=E1lez?=") Olivier Hoareau wrote: >> I don't think that people are gonna like that kind of approach, having two >> binaries with one of them coming from custom source should raise some >> concerns and you won't like the prospects of maintaining PHP for older >> Debian/Ubuntu versions. > My users currently does not matter about this kind of problem, they want to > be able to download a binary, put it in a directory and use it in command > line, whatever it contains. > The features provided by the tool are not php-centric (not only at least), > so I can target teams that do not know anything of php and how it needs to > be installed. > >> This method of distribution [phar] targets users who can read documentation >> and >> understand what "depends on PHP 5.3" means. > Lots of users I target does not know differences between php 5.2 and php > 5.3, some of them don't know even that php 5.3 exists or what phar is. > For the others, it is a possible solution, but not allowing multiple php > version on same box and requiring that I maintain multiple package of the > application (I will have to, but the less package I have to maintain the > more time I will have to improve features). For those Linux users with a package manager, installing your app depending on php5.3 would just upgrade their php from 5.2 to 5.3. If they don't know the difference between 5.2 and 5.3 they are also unlikely to notice that they got a newer version. That said, it is easy to install a separate php version side-by-side in a *nix system. When doing the ./configure step, add a --prefix=/prefix/path/ and all php files will be stored insde that dir (unless you're overriding it with other arguments such as sysconfdif). For windows, the php project already provides standalone executables which don't depend on being installed at a specific location.