Re: PHP for embedded device: reduce size
| From: | Alexey Zakhlestin | Date: | Sun, 20 Feb 2011 10:07:41 +0000 |
| Subject: | Re: PHP for embedded device: reduce size | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51475@lists.php.net to get a copy of this message | ||
On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman <martin@herrman.nl> wrote:
> 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?
what do you mean by "remove the zend engine"?
zend engine is the core, upon which php is built.
--
Alexey Zakhlestin, http://twitter.com/jimi_dini
http://www.milkfarmsoft.com/