Compiling PHP binary as compact as possible
| From: | Bobby Gaza | Date: | Fri, 11 Oct 2002 17:02:50 +0000 |
| Subject: | Compiling PHP binary as compact as possible | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8768@lists.php.net to get a copy of this message | ||
Hello,
I am currently taking on a project where I have the opportunity to use php
(in cgi-mode) on an embedded system. Obviously due to space constraints, I
need to get that php binary as small as possible. The only support I need
is xml. Unfortunately I can only get it down to about 2megs but I know it
can be smaller as I've seen it as small as 800K.
Im currently compiling as:
./configure --enable-xml --without-mysql --enable-pcntl
Does anyone out there have any tips/insight for me?
Thanks,
Bobby