Stripped and symlinked php binaries
Posted: Wed Mar 12, 2014 9:48 am
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*