On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman mar...@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
2011/2/20 Alexey Zakhlestin indey...@gmail.com:
what do you mean by remove the zend engine?
zend engine is the core, upon which php is built.
Ah, that explains a lot :-) I thought zend engine is an additional
engine for performance reasons..
Is there any other way to decrease binary size?
On Sun, Feb 20, 2011 at 11:09 AM, Martin Herrman mar...@herrman.nl wrote:
Is there any other way to decrease binary size? (workaround is to put
php-cgi on external storage)
php-cgi 5.2.x = ~2.4mb ./configure without :
...
--without-iconv \
--without-pear \
--without-gd \
--disable-bcmath \
Am 20.02.2011 11:09, schrieb Martin Herrman:
2011/2/20 Alexey Zakhlestin indey...@gmail.com:
what do you mean by remove the zend engine?
zend engine is the core, upon which php is built.
Ah, that explains a lot :-) I thought zend engine is an additional
engine for performance reasons..
2011/2/20 Patrick E. zeno...@googlemail.com:
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 \
2011/2/20 Reindl Harald h.rei...@thelounge.net:
./configure --help
disable all things you do not need, but be careful as long you
do not know what you doing since I thought zend engine is an
additional engine sounds like you are missing basics
I'll go through the list of options again and
On Sat, Feb 19, 2011 at 9:24 PM, Martin Herrman mar...@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
Am 20.02.2011 15:52, schrieb Martin Herrman:
2011/2/20 Patrick E. zeno...@googlemail.com:
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
2011/2/20 Reindl Harald h.rei...@thelounge.net:
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
On 2/20/11 7:42 AM, Martin Herrman wrote:
2011/2/20 Reindl Harald h.rei...@thelounge.net:
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
On Sun, Feb 20, 2011 at 4:01 PM, Reindl Harald h.rei...@thelounge.netwrote:
Am 20.02.2011 15:52, schrieb Martin Herrman:
2011/2/20 Patrick E. zeno...@googlemail.com:
php-cgi 5.2.x = ~2.4mb ./configure without :
...
--without-iconv \
--without-pear \
--without-gd \
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
2011/2/20 Daniel Brown danbr...@php.net:
On Sun, Feb 20, 2011 at 10:42, Martin Herrman mar...@herrman.nl wrote:
I already had --disabled-all. I have now tested with -Os instead of
-O2 which results in a 2.8MB executable. So that helps a bit :-)
Try running `strip` on there to take out the
Hello experts,
I have a question on PHP module unloading. We are using PHP 5.3.2
on BSD. We are looking to use PHP as a module with APC cache due to
performance reasons. I have limited APC memory to 8mb.
The memory usage with PHP module is obviously persistent compared
to CGI. We have a
Are you using PHP as a module inside a web server such as apache? If so then
module unloading is generally the problem of the web server rather than PHP. Is
(fast) cgi not an option?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
James,
We are using Embed Appweb server 3.2 release. There is no support for unloading.
CGI is used currently and page response is quite slow due to which we want to
use MODULE/APC.
Thanks
-Original Message-
From: James Butler [mailto:james.but...@edigitalresearch.com]
Sent: Sunday,
16 matches
Mail list logo