Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51485 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90867 invoked from network); 20 Feb 2011 15:52:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2011 15:52:17 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:36864] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A5/8C-21930-AA8316D4 for ; Sun, 20 Feb 2011 10:52:15 -0500 Received: by ywh1 with SMTP id 1so702877ywh.29 for ; Sun, 20 Feb 2011 07:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=7C06+Q1uaE++gwKNC4SyJBtqRoS7EaPGv8rnEOiL7oA=; b=tvctdvBcobxsY0MDhdbpXYtNTeGNWNlRPbjzV9iDl2KMn2+TsRtGoJJeFxLs3Oa0BP Puf2ycSrBR3fScc/8xnO59oV16cyGyRr9zK+cb2DotEA4SOkMl0cz8zCeTsZ2Txagi8e 55E5DorutUoO68RUVgD02+qq1TcDpct6rzniY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=FXZOOjopGoDsDtPq96fe6EuHMgPdc7a33NXIEoohk/jbhMi1iZ54h9KWmGbgTF30e1 SyZMhfH9pqtZ1bwQf55NMGJMap13w5vDaIAWsQ5TGoFA569mg6PTHnQ/tktcl9NsRboc 8L4nIBIQJdNVztNFhmMrqju2VZXDqjDF/tISA= MIME-Version: 1.0 Received: by 10.90.224.6 with SMTP id w6mr560295agg.167.1298217126515; Sun, 20 Feb 2011 07:52:06 -0800 (PST) Sender: tyra3l@gmail.com Received: by 10.90.35.8 with HTTP; Sun, 20 Feb 2011 07:52:06 -0800 (PST) In-Reply-To: <4D612CBE.5040205@thelounge.net> References: <4D612CBE.5040205@thelounge.net> Date: Sun, 20 Feb 2011 16:52:06 +0100 X-Google-Sender-Auth: pLDaWzHbUQvRTtq8hbB0MHmB2e8 Message-ID: To: Reindl Harald Cc: martin@herrman.nl, internals@lists.php.net Content-Type: multipart/alternative; boundary=00163628398caad2f4049cb8baa1 Subject: Re: [PHP-DEV] PHP for embedded device: reduce size From: info@tyrael.hu (Ferenc Kovacs) --00163628398caad2f4049cb8baa1 Content-Type: text/plain; charset=UTF-8 On Sun, Feb 20, 2011 at 4:01 PM, Reindl Harald wrote: > > > Am 20.02.2011 15:52, schrieb Martin Herrman: > > 2011/2/20 Patrick E. : > > > >> php-cgi 5.2.x = ~2.4mb "./configure" without : > >> ... > >> --without-iconv \ > >> --without-pear \ > >> --without-gd \ > >> --disable-bcmath \ > >> --disable-libxml --disable-dom --disable-simplexml --disable-xml > >> --disable-xmlreader --disable-xmlwriter --without-pear \ > >> --with-sqlite \ > >> --without-pdo-sqlite > > > > For latest 5.3.x it still results in a 3+ MB php-cgi binary. > > There are some more swicthes > --disable-all Disable all extensions which are enabled by default > > What about "--disable-all" followed by "--enable-feature" for all > you want to have? > > The follwoing are not needed in most cases > --disable-ipv6 > --disable-posix > --disable-phar > --disable-json > __________________________________ > > --disable-ipv6 Disable IPv6 support > --disable-libxml Disable LIBXML support > --disable-ctype Disable ctype functions > --disable-inifile DBA: INI support (bundled) > --disable-flatfile DBA: FlatFile support (bundled) > --disable-dom Disable DOM support > --disable-fileinfo Disable fileinfo support > --disable-filter Disable input filter support > --disable-hash Disable hash support > --disable-json Disable JavaScript Object Serialization support > --disable-mbregex MBSTRING: Disable multibyte regex support > --disable-pdo Disable PHP Data Objects support > --disable-phar Disable phar support > --disable-posix Disable POSIX-like functions > --disable-session Disable session support > --disable-simplexml Disable SimpleXML support > --disable-tokenizer Disable tokenizer support > --disable-xml Disable XML support > --disable-xmlreader Disable XMLReader support > --disable-xmlwriter Disable XMLWriter support > > did you bother to read his first email? he exactly did that: --disable-all and --enable-cgi Tyrael --00163628398caad2f4049cb8baa1--