Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51482 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84288 invoked from network); 20 Feb 2011 15:01:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2011 15:01:41 -0000 Authentication-Results: pb1.pair.com header.from=h.reindl@thelounge.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=h.reindl@thelounge.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain thelounge.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: h.reindl@thelounge.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Windows 98 (1) Received: from [91.118.73.15] ([91.118.73.15:44956] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/0B-21930-DCC216D4 for ; Sun, 20 Feb 2011 10:01:37 -0500 Received: from srv-rhsoft.rhsoft.net (local.rhsoft.net [84.113.45.179]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (Postfix) with ESMTPSA id F1AC49A; Sun, 20 Feb 2011 16:01:18 +0100 (CET) Message-ID: <4D612CBE.5040205@thelounge.net> Date: Sun, 20 Feb 2011 16:01:18 +0100 Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: martin@herrman.nl CC: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5BBBF4C8D5164177CC8535F5" Subject: Re: [PHP-DEV] PHP for embedded device: reduce size From: h.reindl@thelounge.net (Reindl Harald) --------------enig5BBBF4C8D5164177CC8535F5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 20.02.2011 15:52, schrieb Martin Herrman: > 2011/2/20 Patrick E. : >=20 >> php-cgi 5.2.x =3D ~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 >=20 > 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 --------------enig5BBBF4C8D5164177CC8535F5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk1hLL4ACgkQhmBjz394AnlQTQCfUElwPa2ziMk3h1Zv6lKF/Mfo BGUAoJe8wgcqSsJAc5JK3nXDluMiiXyX =lAKh -----END PGP SIGNATURE----- --------------enig5BBBF4C8D5164177CC8535F5--