php.cgi size
Posted by: andrei
Posted on: 2006-02-07 12:59:00
I just compiled php 5.1.2 following (mostly) the instructions in the dreamhost wiki.
The executable size is about 20 MB; is this a normal size ? (Looks a bit too big to me)
Posted by: andrei
Posted on: 2006-02-07 12:59:00
I just compiled php 5.1.2 following (mostly) the instructions in the dreamhost wiki.
The executable size is about 20 MB; is this a normal size ? (Looks a bit too big to me)
Posted by: guice
Posted on: 2006-02-07 13:24:00
It's about right. Mine's just around 17 megs. PHP5.0 was like 8 or 9 megs in size.
Posted by: psross
Posted on: 2006-02-08 02:04:00
The default build will include debugging information in the executable. You can remove it and reduce the size by running
strip --strip-all php.cgi
Posted by: andrei
Posted on: 2006-02-08 02:09:00
thanks, now it's down to 6 MB