Welcome to Centmin Mod Community
Become a Member

CentOS 7 Beta Branch add support for STRIPPHP='n' to strip PHP binary size if enabled for .08 beta

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 16, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    8:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    6:22 AM
    Mainline
    10.2
    Why only /usr/local/bin/php is strip?
    What about /usr/local/bin/php-cgi ? Just asking, sorry noob about this thing.
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    8:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    6:22 AM
    Mainline
    10.2
    Nice!
    Code:
    strip PHP binary...
    -rwxr-xr-x 1 root root 36M May 16 02:51 /usr/local/bin/php
    -rwxr-xr-x 1 root root 36M May 16 02:51 /usr/local/bin/php-cgi
    -rwxr-xr-x 1 root root 9.0M May 16 02:51 /usr/local/bin/php
    -rwxr-xr-x 1 root root 9.0M May 16 02:51 /usr/local/bin/php-cgi
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    8:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    same just did it for this forum :)
    Code:
    ls -lah /usr/local/sbin/php-fpm*
    -rwxr-xr-x 1 root root 9.1M May 17 06:49 /usr/local/sbin/php-fpm
    -rwxr-xr-x 1 root root  36M May 15 09:57 /usr/local/sbin/php-fpm.orig
     
  6. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    6:22 AM
    Mainline
    10.2
    And me as your beta tester :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,530
    12,134
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,677
    Local Time:
    8:22 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah I am going to give a it good few days testing and then set it centmin mod .08 beta 02 defaults to stripped php-fpm and nginx binaries :)
     
  8. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    6:22 AM
    Mainline
    10.2
    I din't notice any problem really :)