RE: [PHP-DEV] PHP for embedded device: reduce size

From: Date: Tue, 22 Feb 2011 04:21:29 +0000
Subject: RE: [PHP-DEV] PHP for embedded device: reduce size
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-51494@lists.php.net to get a copy of this message
HI Martin, Is it only file size you worry about or also memory footprint? I assume it'd also be the latter. If so, we can share a patch we've worked on which could allow you to reduce the memory footprint at compile time somewhat more (on the expense of performance, ...). We were going to send it out for review anyway so this could be it :) Andi -----Original Message----- From: martin.herrman@gmail.com [mailto:martin.herrman@gmail.com] On Behalf Of Martin Herrman Sent: Saturday, February 19, 2011 10:25 AM To: internals@lists.php.net Subject: [PHP-DEV] PHP for embedded device: reduce size All, I have cross-compiled php-cgi for a MIPS device (mediaplayer), but the binary is quite large, more than 3MB. I'm using: ./configure --prefix=../result/php-5.3.5 --host=i686-pc-linux-gnu --target=mipsel-linux-gnu --build=mipsel-linux-gnu --enable-cgi --disable-all --without-pear --with-config-file-path=/etc/ Which options do I have to reduce size of the binary? E.g. can I remove the zend engine? Thanks in advance, Martin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.internals (#51494) next »