Stripped and symlinked php binaries Topic is solved
-
- Posts: 5
- Joined: Tue Mar 11, 2014 4:43 pm
Stripped and symlinked php binaries
I hope this is the right section to post about this low priority issue. I was wondering why a du of /usr/local/vesta was so large and noticed the 2 binaries in /usr/local/vesta/php/sbin were not stripped and both binaries were exactly the same size so I stripped them and symlinked one to the other and so far the control panel is still working.
Before...
After...
Before...
Code: Select all
~ /usr/local/vesta ll php/sbin
total 51968
-rwxr-xr-x 1 root root 26605030 Dec 28 01:57 php-fpm*
-rwxr-xr-x 1 root root 26605030 Dec 28 01:57 vesta-php*
Code: Select all
~ /usr/local/vesta ll php/sbin
total 7716
-rwxr-xr-x 1 root root 7898120 Mar 12 19:41 php-fpm*
lrwxrwxrwx 1 root root 7 Mar 12 19:44 vesta-php -> php-fpm*
-
- Posts: 5
- Joined: Tue Mar 11, 2014 4:43 pm
Re: Stripped and symlinked php binaries
After stripping and symlinking some binaries in nginx/sbin, php/bin and php/sbin my /usr/local/vesta size went from 128Mb to 37Mb which, to me, is still too large for a few 1000 docker containers but certainly better than what it was by default.
Re: Stripped and symlinked php binaries
Closed due inactivity.