Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8054 invoked from network); 15 Mar 2011 20:09:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2011 20:09:16 -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.218.42 cause and error) X-PHP-List-Original-Sender: olivier@phppro.fr X-Host-Fingerprint: 209.85.218.42 mail-yi0-f42.google.com Received: from [209.85.218.42] ([209.85.218.42:47466] helo=mail-yi0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/33-03183-A67CF7D4 for ; Tue, 15 Mar 2011 15:09:16 -0500 Received: by yic21 with SMTP id 21so409723yic.29 for ; Tue, 15 Mar 2011 13:09:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.226.14 with SMTP id y14mr468105agg.104.1300219752410; Tue, 15 Mar 2011 13:09:12 -0700 (PDT) Received: by 10.90.91.6 with HTTP; Tue, 15 Mar 2011 13:09:12 -0700 (PDT) Date: Tue, 15 Mar 2011 21:09:12 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=0016e644ce9878eeed049e8b00bc Subject: Package php binaries + php script into one single executable file From: olivier@phppro.fr (Olivier Hoareau) --0016e644ce9878eeed049e8b00bc Content-Type: text/plain; charset=ISO-8859-1 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 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. Targeted platforms are : - windows (XP / Vista / 7) => 70% of my users - linux debian-like (ubuntu / debian) => 20% of my users - other platforms => 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 --0016e644ce9878eeed049e8b00bc--