Join the community today
Become a Member

Centmin Mod .08 ideas

Discussion in 'Feature Requests & Suggestions' started by eva2000, Jun 29, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    6:13 AM
    Nginx-1.26.x
    MariaDB 10.6.x
    It will be great for centminmod to have an option to install for Php 5.5 and zend opcache built in a nice GUI panel as Apc has :)

    Some cool panels:


    https://rtcamp.com/tutorials/php/zend-opcache/

    Thanks :)
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    already has when you upgrade to PHP 5.5.x and select Zend Opcache = yes https://community.centminmod.com/threads/php-5-5-14-released-php-fpm.606/#post-3380, you will get an XX_opcache.php file on yourhostname.com/XX_opcache.php

    but i think there's a bug in .07 and doesn't happen on upgrade but only on install/re-install of Zend OpCache via menu option 12 in centmin.sh

    so for now need to manually move the opcache.php stats file from zip file config/zendopcache/opcache.php to /usr/local/nginx/html

    Code:
    ls -lah config/zendopcache/
    total 40K
    drwxr-xr-x  2 root root 4.0K Jun 30 15:51 .
    drwxr-xr-x 16 root root 4.0K Jun 30 15:51 ..
    -rw-r--r--  1 root root  22K Jun 30 15:51 opcache.php
    -rw-r--r--  1 root root  381 Jun 30 15:51 zendopcache-min.ini
    -rw-r--r--  1 root root  381 Jun 30 15:51 zendopcache.ini
    moving opcache.php
    Code:
    cd /usr/local/src/centmin-v1.2.3mod
    N=$RANDOM
    cp config/zendopcache/opcache.php /usr/local/nginx/html/${N}_opcache.php
    chown nginx:nginx /usr/local/nginx/html/${N}_opcache.php
    then password protect the XX_opcache.php file just like outlined here for admin.php https://community.centminmod.com/th...rd-protect-a-directory-or-file.579/#post-2615

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 12
    --------------------------------------------------------
    --------------------------------------------------------
            Zend OpCache Sub-Menu              
    --------------------------------------------------------
    1). Install Zend OpCache for PHP <5.5 or <5.6
    2). Reinstall Zend OpCache for PHP <5.5 or <5.6
    3). Back to Main menu
    --------------------------------------------------------
    
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    6:13 AM
    Nginx-1.26.x
    MariaDB 10.6.x
    Great any change of get the bug fixed? :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    will be fixed in next version .08 beta/stable :)
     
  5. Lundz

    Lundz Member

    42
    6
    8
    May 28, 2014
    Ratings:
    +7
    Local Time:
    5:13 AM
    I know it's on the long term support list, but i would love to see .08 support apache even if it's only for one domain and with mpm prefork :)
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Unfortunately with CentOS 7 and Apache 2.4 availability and many changes etc, would change the timetable even more for inclusion.
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    While I am at it, decided to fix the severely outdated OpenResty Nginx module support which previously was broken along the way. Committed fix at https://github.com/centminmod/centminmod/commit/7266ade2cb28d69e520625f8fc60efc1496c6a9c :)

     
    Last edited: Jul 13, 2014
  9. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  10. palPalani

    palPalani Member

    30
    12
    8
    May 30, 2014
    Chennai, IN
    Ratings:
    +20
    Local Time:
    8:43 AM
    Nginx 1.7
    MariaDB 5.5
  11. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  12. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Updated Centmin Mod .08 betas on Github with new inc/phpng_download.inc file which has a function to auto download via Git clone the PHP NG source to /svr-setup/php-5.7.0 and create /svr-setup/php-5.7.0.tar.gz when you run centmin.sh menu option 5 and specify PHP version = 5.7.0. No more manual work needed to be able to test PHP NG (5.7) as outlined at https://community.centminmod.com/threads/php-5-7-phpng-support-testing-for-centmin-mod-betas.892 :D

    Changes commit at https://github.com/centminmod/centminmod/commit/854691c92d0803fe72ea7fbed38db4c035218f30

    Remember, PHP NG is alpha quality not ready for production live use so only test this on test servers/sites. More info on PHP NG at https://community.centminmod.com/threads/php-5-7-almost-2x-times-faster-than-php-5-6.888/.
     
  13. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  14. eva2000

    eva2000 Administrator Staff Member

    55,245
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    1:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looking at creating a online PHP version check before PHP install and upgrades for Centmin Mod .08+ and higher. This way the latest version of a particular PHP branch 5.5, 5.4 or 5.3 gets installed.

    Code:
    ./phpvercheck.sh                                                       
    
    PHP 5.5 latest = 5.5.15
    PHP 5.4 latest = 5.4.31
    PHP 5.3 latest = 5.3.28
    
    newer PHP version is available
    5.5.14 < 5.5.15
    Code:
    ./phpvercheck.sh
    
    PHP 5.5 latest = 5.5.15
    PHP 5.4 latest = 5.4.31
    PHP 5.3 latest = 5.3.28
    
    newer PHP version is available
    5.4.30 < 5.4.31
    Revised the code

    Code:
    ./phpvercheck.sh 5.3.28                     
    
    PHP 5.3 latest = 5.3.28
    
    You have selected latest PHP version
    5.3.28 = 5.3.28
    
    
    Code:
    ./phpvercheck.sh 5.3.27
    
    PHP 5.3 latest = 5.3.28
    
    Newer PHP version is available
    5.3.27 < 5.3.28
    
    
    Code:
    ./phpvercheck.sh 5.4.31                     
    
    PHP 5.4 latest = 5.4.31
    
    You have selected latest PHP version
    5.4.31 = 5.4.31
    
    
    Code:
    ./phpvercheck.sh 5.4.30
    
    PHP 5.4 latest = 5.4.31
    
    Newer PHP version is available
    5.4.30 < 5.4.31
    
    
    Code:
    ./phpvercheck.sh 5.5.15                     
    
    PHP 5.5 latest = 5.5.15
    
    You have selected latest PHP version
    5.5.15 = 5.5.15
    
    
    Code:
    ./phpvercheck.sh 5.5.14                     
    
    PHP 5.5 latest = 5.5.15
    
    Newer PHP version is available
    5.5.14 < 5.5.15
    
    
    Code:
    ./phpvercheck.sh 5.2.14                     
    
    Selected 5.2.14 which is from an outdated PHP branch
    if possible upgrade to newer PHP branch 5.3, 5.4, 5.5 or 5.6
    
    might also add some version validation check to prevent folks from typing incorrect versions i.e. 5.5.55 :)


    Code:
    ./phpvercheck.sh 5.5.16
    
    PHP 5.5 latest = 5.5.15
    
    You entered incorrect PHP version number or
    version greater than latest available PHP version
    
    Code:
    ./phpvercheck.sh 5.4.32
    
    PHP 5.4 latest = 5.4.31
    
    You entered incorrect PHP version number or
    version greater than latest available PHP version
    
    Code:
    ./phpvercheck.sh 5.3.29
    
    PHP 5.3 latest = 5.3.28
    
    You entered incorrect PHP version number or
    version greater than latest available PHP version
    
    Code:
    ./phpvercheck.sh 5.7.29                       
    
    error: unable to determine a known PHP branch
    
    
    You entered incorrect PHP version number or
    version greater than latest available PHP version
     
    Last edited: Jul 25, 2014