Want more timely Centmin Mod News Updates?
Become a Member

Featured CentOS 7.x How to help test .08 CentOS 7 Betas with Github code ?

Discussion in 'Beta release code' started by eva2000, Jul 11, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    mcrypt already exists, check php loaded modules
    Code:
    php -m
    Code:
     php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    newrelic
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    1:36 PM
    It appears to be something with 5.3 which is for a vB 3.7 site we just purchased.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    see PHP-FPM - PHP Was Not Installed Properly might want to stick with CentOS 6.5 for PHP 5.3 for now
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    1:36 PM
    5.3 works fine with 6.5 and .07.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup it does as CentOS 6.5 uses a different gcc version than CentOS 7
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Managed to get past one of the errors preventing compiling PHP 5.3.29 + CentOS 7 related PHP Intl extension enabling, PHP 5.3.29 doesn't seem to like enabling PHP Intl extension on CentOS 7. Latest commit to Centmin Mod .08 beta01 adds a new option to disable PHPINTL=y|n in centmin.sh prior to downgrading PHP to PHP 5.3.29.

    While PHP ends up installed, there's ALOT of other errors reported during compiling, so not entirely sure you'd be out of the woods with CentOS 7 and PHP 5.3.29. Probably better to stick with CentOS 6.5 for PHP 5.3.x setups right now
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  9. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    1:36 AM
    1.7.6
    5.10
    PHP installation fails on latest .08

    Code:
    [1;33;40mDownload php-5.4.34.tar.gz ...
    (B[m2014-10-28 21:01:15 URL:http://us2.php.net/distributions/php-5.4.34.tar.gz [15333397/15333397] -> "mirror" [1]
    [1;33;40mDownload done.
    (B[mtar (child): php-5.4.34.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    [1;32;40mError: php-5.4.34.tar.gz extraction failed.
    (B[mcheck Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    
    Total Centmin Mod Install Time: 181.566928630 seconds
    
    Code:
    [1;33;40mDownload php-5.6.2.tar.gz ...
    (B[m2014-10-28 20:29:22 URL:http://us1.php.net/distributions/php-5.6.2.tar.gz [17500319/17500319] -> "mirror" [1]
    [1;33;40mDownload done.
    (B[mtar (child): php-5.6.2.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    [1;32;40mError: php-5.6.2.tar.gz extraction failed.
    (B[mcheck Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    
    Total Centmin Mod Install Time: 222.362378842 seconds
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    @Razib Hasan check to see if PHP tar.gz files were fully downloaded in /svr-setup

    Code:
    ls -lahrt /svr-setup | grep php
    could be the downloads terminated before they completed or some problem with completing the downloads
     
  11. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    1:36 AM
    1.7.6
    5.10
  12. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    1:36 AM
    1.7.6
    5.10
    @eva2000
    Update: Seems like it might be an issue with CentOS 6.6. After fresh installation of CentOS 6.5, I've ran yum update command and then I tried to install CentminMod (both .07 and .08) and it returned with PHP download error. Right now I've done another fresh installation and running centminmod .08 installation without any yum update. No error this time :)
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks like something else to investigate for compatibility but i believe it's related to my in place version checks at CentOS 6.6 & Centmin Mod compatibility | Centmin Mod Community
     
  14. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    1:36 AM
    1.7.6
    5.10
    @eva2000
    Just tried .07 on another VPS with CentOS 6.6 after changing the variables to 6.6. Got error again when it tried to download PHP.

    Code:
    Download php-5.4.33.tar.gz ...
    2014-10-29 01:48:29 URL:http://php.net/distributions/php-5.4.33.tar.gz [15330121/15330121] -> "mirror" [1]
    Download done.
    tar (child): php-5.4.33.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Error: php-5.4.33.tar.gz extraction failed.
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes it's expected to have errors due to this CentOS 6.6 & Centmin Mod compatibility | Centmin Mod Community

    I just updated Centmin Mod .08 beta and .07 stable with support for CentOS 6.6 throughout the code. For Centmin Mod .07 stable you still need to do the outlined step at CentOS 6.6 & Centmin Mod compatibility | Centmin Mod Community to set centmin.sh variable to TESTEDCENTOSVER='6.6' before running initial install.

    Github commits:
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Will be adding a few existing beta status addons to .08 beta as official addons Add Ons | Centmin Mod Community

    For example:
    Was thinking for addons like ioncube.sh which may need reinstalling with each PHP upgrade, of adding support for pre/post hook functions before and after PHP and Nginx installation, which end users can add their own scripts and define additional installations, steps of their own after PHP and Nginx install/upgrade process has run.

    For example, this way you could define ioncube.sh addon to run after a PHP upgrade automatically via a post hook or before/after initial Nginx install, define NGINX_GEOIP=y and run addons/geoip.sh to enable GEOIP support Nginx - GeoIP Thread | Centmin Mod Community
     
  17. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  18. Razib Hasan

    Razib Hasan Member

    37
    15
    8
    May 31, 2014
    Dhaka, Bangladesh
    Ratings:
    +15
    Local Time:
    1:36 AM
    1.7.6
    5.10
    Code:
    setting up /svr-setup on tmpfs ramdisk for initial install
    Filesystem     Type      Size  Used Avail Use% Mounted on
    /dev/simfs     simfs      60G  373M   60G   1% /
    none           devtmpfs  1.5G  4.0K  1.5G   1% /dev
    none           tmpfs     1.5G     0  1.5G   0% /dev/shm
    tmpfs          tmpfs     2.2G     0  2.2G   0% /svr-setup
    inc/zendopcache_reinstall.inc: line 31: syntax error near unexpected token `else                                         '
    inc/zendopcache_reinstall.inc: line 31: `       else'
    inc/zendopcache_reinstall.inc: line 31: warning: syntax errors in . or eval will                                          cause future versions of the shell to abort as Posix requires
    Getting that message while running latest version of .08.
     
  19. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:36 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    doh made another typo missing the ; then from line 29 - fixed in latest commit fix typo in inc/zendopcache_reinstall.inc · 804df16 · centminmod/centminmod · GitHub :)

    You can edit inc/zendopcache_reinstall.inc at line 29 if you want

    thanks for the feedback :D
     
    Last edited: Nov 3, 2014
  20. GhoHan

    GhoHan Member

    33
    14
    8
    Jun 1, 2014
    Ratings:
    +14
    Local Time:
    2:36 AM
    Nginx 1.13.X
    MariaDB 10.1.X

    @eva2000 this the new test install on Centos 7 still dont have mcrypt

    Code:
    php -m
    [PHP Modules]
    apc
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    zip
    zlib
    
    [Zend Modules]