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

    28,973
    6,576
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,760
    Local Time:
    11:15 PM
    Nginx 1.13.x
    MariaDB 5.5
  2. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:15 PM
    1.11
    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

    28,973
    6,576
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,760
    Local Time:
    11:15 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:15 PM
    1.11
    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
    
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    28,973
    6,576
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,760
    Local Time:
    11:15 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  6. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:15 PM
    1.11
    10.2
    And me as your beta tester :)
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    28,973
    6,576
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,760
    Local Time:
    11:15 PM
    Nginx 1.13.x
    MariaDB 5.5
    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 :)
     
    • Like Like x 1
  8. RoldanLT

    RoldanLT Well-Known Member

    3,829
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    9:15 PM
    1.11
    10.2
    I din't notice any problem really :)