Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51703 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12579 invoked from network); 15 Mar 2011 20:35:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2011 20:35:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=james.butler@edigitalresearch.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=james.butler@edigitalresearch.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain edigitalresearch.com from 217.154.180.62 cause and error) X-PHP-List-Original-Sender: james.butler@edigitalresearch.com X-Host-Fingerprint: 217.154.180.62 analysis.edigitalresearch.com Received: from [217.154.180.62] ([217.154.180.62:34023] helo=mail.edigitalresearch.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/04-03183-57DCF7D4 for ; Tue, 15 Mar 2011 15:35:02 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.edigitalresearch.com (Postfix) with ESMTP id F32231EAC7A; Tue, 15 Mar 2011 20:27:49 +0000 (GMT) X-Virus-Scanned: amavisd-new at edigitalresearch.com Received: from mail.edigitalresearch.com ([127.0.0.1]) by localhost (mail.edigitalresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1M7aZLsFCHPr; Tue, 15 Mar 2011 20:27:49 +0000 (GMT) Received: from zarafa.localdomain (unknown [10.0.0.20]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.edigitalresearch.com (Postfix) with ESMTPS id 24F081EAC79; Tue, 15 Mar 2011 20:27:49 +0000 (GMT) Received: from zarafa.edigitalresearch.com (zarafa.edigitalresearch.com [10.0.0.20]) by zarafa.localdomain (Postfix) with SMTP id 729DC10021A; Tue, 15 Mar 2011 20:27:48 +0000 (GMT) To: =?windows-1252?Q?"Olivier_Hoareau"?= Cc: =?windows-1252?Q?"internals=40lists.php.net"?= Date: Tue, 15 Mar 2011 20:27:48 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Mailer: Zarafa 6.40.5-24860 Message-ID: Subject: Re: [PHP-DEV] Package php binaries + php script into one single executable file From: james.butler@edigitalresearch.com (=?windows-1252?Q?James_Butler?=) Hi Olivier, Could you be a little more specific about what questions you have=3F Is it to do with the licensing or physically how to go about achieving your aim=3F Regards, James -- James Butler Sent from my iPhone On 15 Mar 2011, at 20:02, "Olivier Hoareau" wrote: > Hi ! >=20 > I would like to be able to "distribute" (freely) a single executable > (binary) containing : >=20 > - php binaries (v 5.3+) > - a php script already packaged as a .phar (1 Mb, requiring PHP 5.3+) > - additional (optional) compiled extensions > - php.ini > - all other resources required by the php executable to run >=20 > The aim is to be able to provide a command line tool based on PHP but not > requiring my user to install PHP *before* using the tool (and only download > the tool as a single executable file to execute it) > I would like my users to be able to use this "packaged" tool (requiring PHP > 5.3+) whatever version of PHP my users have already installed (or not) on > their system. >=20 > Targeted platforms are : >=20 > - windows (XP / Vista / 7) =3D> 70% of my users > - linux debian-like (ubuntu / debian) =3D> 20% of my users > - other platforms =3D> 10% of my users >=20 > At this point, this is not a problem for me to have a huge self-executable > file (> 10Mb). > I need to be able to package a version of the tool using a batch (or > script), as I am using continuous integration. >=20 > Do you have ideas on how to reach this goal =3F > The tool is open source, using New BSD License (currently, in beta version). >=20 > Thanks for your answers ! >=20 > Best regards, >=20 > Olivier Hoareau