Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14131 invoked from network); 15 Mar 2011 20:39:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2011 20:39:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=olivier@phppro.fr; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=olivier@phppro.fr; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phppro.fr from 209.85.213.170 cause and error) X-PHP-List-Original-Sender: olivier@phppro.fr X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:57587] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/54-03183-39ECF7D4 for ; Tue, 15 Mar 2011 15:39:48 -0500 Received: by yxi11 with SMTP id 11so421130yxi.29 for ; Tue, 15 Mar 2011 13:39:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.91.4.26 with SMTP id g26mr513783agi.131.1300221584812; Tue, 15 Mar 2011 13:39:44 -0700 (PDT) Received: by 10.90.91.6 with HTTP; Tue, 15 Mar 2011 13:39:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Mar 2011 21:39:44 +0100 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=0016363b8da4b128f1049e8b6df1 Subject: Re: [PHP-DEV] Package php binaries + php script into one single executable file From: olivier@phppro.fr (Olivier Hoareau) --0016363b8da4b128f1049e8b6df1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > > Hi Olivier, > Hi ! > Could you be a little more specific about what questions you have? Is it = to > do with the licensing or physically how to go about achieving your aim? > technical point : how to go about achieving my aim ;) Ideas : - specific compilation of PHP (I am newbee, but there are lots of expert on this list I think ;)) - others ? This is not (I think ?) a problem with license, my current targeted license is BSD-style (New BSD by defaults, but I can move if necessary). Thanks ! > > Regards, > James > > -- > James Butler > Sent from my iPhone > > On 15 Mar 2011, at 20:02, "Olivier Hoareau" wrote: > > > Hi ! > > > > I would like to be able to "distribute" (freely) a single executable > > (binary) containing : > > > > - 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 > > > > The aim is to be able to provide a command line tool based on PHP but n= ot > > 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. > > > > Targeted platforms are : > > > > - 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 > > > > 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. > > > > Do you have ideas on how to reach this goal ? > > The tool is open source, using New BSD License (currently, in beta > version). > > > > Thanks for your answers ! > > > > Best regards, > > > > Olivier Hoareau > > --=20 Olivier Hoareau Consultant Expert PHP / Coach M=E9thodologie Agile PHPPRO www.phppro.fr Visitez le blog http://blog.phppro.fr ! --0016363b8da4b128f1049e8b6df1--