Custom PHP-CGI very big (20mb)

software development

#1

I was previously using the Dreamhost PHP compile and it was around 6mb. It did however lack som features I needed so I did my own compile with the install script found on the wiki.

The result is a 20mb php-cgi, instead of the usual 6mb.

Anyone care to explain why and if I can make it smaller? I figured it’s more resource heavy to have a 20mb file loading than a 6mb, but I might be wrong (I assume there’s some caching etc, but still).


#2

you can just execute the following

strip --strip-all php-cgi

I think it strips the debug info etc from the file

$97 DISCOUNT with [color=#CC0000]DISCOM97[/color]
More codes


#3

Thanks alot, quick and functional answer :slight_smile: