Join the community today
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

    35,104
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    9:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  2. rdan

    rdan Premium Member Premium Member

    4,229
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    7:53 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

    35,104
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    9:53 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  4. rdan

    rdan Premium Member Premium Member

    4,229
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    7:53 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
    
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    35,104
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    9:53 PM
    Nginx 1.15.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
     
    • Like Like x 1
  6. rdan

    rdan Premium Member Premium Member

    4,229
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    7:53 PM
    Mainline
    10.2
    And me as your beta tester :)
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    35,104
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    9:53 PM
    Nginx 1.15.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 :)
     
    • Like Like x 1
  8. rdan

    rdan Premium Member Premium Member

    4,229
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    7:53 PM
    Mainline
    10.2
    I din't notice any problem really :)
     
..