tester2007 Posted October 18, 2007 Share Posted October 18, 2007 Recently I downloaded and compiled PHP 5.2.4 and was surprised to see all executables (cli & cgi) very big; in the range of 11M. This on Fedora 7/8. I compared it with Fedora PHP of the same version and noticed that their executable was about 3.3MB. I printed all configured options from Fedora version (using php -i) and used it to configure mine. This did not give me the size savings I expected. In fact, it my executable is still in the range of 10M even if I disable most of database packages etc. Does anyone has any suggestions ??? Link to comment https://forums.phpfreaks.com/topic/73830-solved-big-binary-size-php-ver-524/ Share on other sites More sharing options...
10drill Posted November 11, 2007 Share Posted November 11, 2007 If you didn't run make install, did you "strip" the binary? I just compiled 5.2.5 and before stripping it was something like 18M. After running strip php-cgi from the command line it was 5.7M (with lots of extensions and extra stuff). Link to comment https://forums.phpfreaks.com/topic/73830-solved-big-binary-size-php-ver-524/#findComment-388903 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.