Want to subscribe to topics you're interested in?
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

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  2. rdan

    rdan Well-Known Member

    4,983
    1,185
    113
    May 25, 2014
    Ratings:
    +1,804
    Local Time:
    11:38 PM
    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

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. rdan

    rdan Well-Known Member

    4,983
    1,185
    113
    May 25, 2014
    Ratings:
    +1,804
    Local Time:
    11:38 PM
    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

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    4,983
    1,185
    113
    May 25, 2014
    Ratings:
    +1,804
    Local Time:
    11:38 PM
    Mainline
    10.2
    And me as your beta tester :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    1:38 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    4,983
    1,185
    113
    May 25, 2014
    Ratings:
    +1,804
    Local Time:
    11:38 PM
    Mainline
    10.2
    I din't notice any problem really :)