Discover Centmin Mod today
Register Now

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

    48,474
    11,107
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,295
    Local Time:
    5:28 PM
    Nginx 1.21.x
    MariaDB 10.x
  2. rdan

    rdan Premium Member Premium Member

    5,225
    1,306
    113
    May 25, 2014
    Ratings:
    +2,008
    Local Time:
    3:28 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

    48,474
    11,107
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,295
    Local Time:
    5:28 PM
    Nginx 1.21.x
    MariaDB 10.x
  4. rdan

    rdan Premium Member Premium Member

    5,225
    1,306
    113
    May 25, 2014
    Ratings:
    +2,008
    Local Time:
    3:28 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

    48,474
    11,107
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,295
    Local Time:
    5:28 PM
    Nginx 1.21.x
    MariaDB 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 Premium Member Premium Member

    5,225
    1,306
    113
    May 25, 2014
    Ratings:
    +2,008
    Local Time:
    3:28 PM
    Mainline
    10.2
    And me as your beta tester :)
     
  7. eva2000

    eva2000 Administrator Staff Member

    48,474
    11,107
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,295
    Local Time:
    5:28 PM
    Nginx 1.21.x
    MariaDB 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 Premium Member Premium Member

    5,225
    1,306
    113
    May 25, 2014
    Ratings:
    +2,008
    Local Time:
    3:28 PM
    Mainline
    10.2
    I din't notice any problem really :)