Get the most out of your Centmin Mod LEMP stack
Become a Member

PHP Php 7.0 Final

Discussion in 'Nginx and PHP-FPM news & discussions' started by pamamolf, Dec 4, 2015.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:57 PM
    latest
    10
    I also noticed that tonight. After I did:
    worked fine
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5
  3. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Should I update too? I am not sure?

    Also, @eva2000 one thing regarding updating centmin, if I update same branch (I am on beta 9) I use 23, then 1, then 4, then 24, then logout from ssh, then login to ssh, then centmin option 23, then option 2 and allways show:
    No local changes to save
    Already up-to-date.

    So is it update it self during 23 - 1 steps option?
     
  4. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    5:57 AM
    1.9.9
    10.1.10
    If you mean to PHP7, that is up to you. Check if everything you use is php7 compatible, the php7 current bugs, setup a test server with it, test it out etc. and if you like it/everything is compatible then why not. (Make sure you backup everything!)
    You do not need to run the sub-menu option 1 to update, you only have to run this once per installation (basically to setup the git files as it says).
    If you want to stay on the same branch and only update the changed files you need to run the sub-menu option 2.
    To change the branch, e.g. from latest .08 to .09beta01, you need to use the sub-menu option 3.
     
    • Informative Informative x 2
  5. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    I am allready on php 7.
    I asked regard of update changes in php 7 in centmin branch. For example:
    That is what I want to do, but allways said that nothing to update, maybe because it is updated cause my steps before that (23 - 1 and after that 23 - 2)
     
  6. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    5:57 AM
    1.9.9
    10.1.10
    Oh, if you want to use the new available option sure!
    For more information check out eva's post: PHP - Php 7.0 Final | Page 5 | Centmin Mod Community
    Yep, if you run sub-menu option 1 it also updates. It pulls the whole centminmod files though, option 2 only pulls those that have changes.
     
    • Like Like x 1
  7. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 AM
    Nginx 1.13.3
    MariaDB 10.1.24
    Yep, but I am still confused with this upgrading, recompiling, choosing options etc...
    I am still green with this stuff, and I'm boring to my self allready with same and same questions, I just can't imagine how it is to others when they read my questions again and again...
    Sorry guys
    Thanks, so 23 - 2 will update if there is change in same branche.
     
  8. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:57 PM
    latest
    10
    The steps to take that you want to do @Sunka is
    1. Menu option #23
    2. Sub Menu option #1
    3. Exit out of the menu and go back to your root directory ( Sub Menu #4 to exit, Main Menu #24 to exit, the cd /root
    4. THEN copy and paste this:
    5. Then ( ./centmin.sh ) to bring back the menu
    6. Menu option #23 again
    7. Then Menu #2 0r 3 depending on what your doing.
    - sub Menu option 3 will grab a new version IE: 123.09beta01 so when it asked you to
    You'll want to copy/paste which ever branch you want to upgrade/downgrade to: 123.09beta01
    8. Then repeat steps 3-5 and you'll be all set.
     
    • Informative Informative x 1
  9. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    both these work too :) i tend to do the 2nd method as centmin.sh menu option 23 submenu option 2 is the same as going into /usr/local/src/centminmod and doing a git stash + git pull on the command line. They are both the same task as long as you have done a centmin.sh menu option 23 submenu option 1 run first to setup git environment

    It's basically what I outline at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS will be easiest for new folks.
     
    • Like Like x 1
    • Informative Informative x 1
  10. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5
  11. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    imagick 3.4.0RC2 has PHP 7 support PECL :: imagick Changelog

    updating centmin mod builds heh

    1st updated 123.09beta01

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.09 - 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.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 15
    --------------------------------------------------------
    Check for php extensions
    Downloading imagick extension
    Download imagick-3.4.0RC2.tgz ...
    Error: imagick-3.4.0RC2.tgz not found !!! Downloading now......
    2015-12-10 16:41:06 URL:https://pecl.php.net/get/imagick-3.4.0RC2.tgz [230995/230995] -> "imagick-3.4.0RC2.tgz" [1]
    Download done.
    imagick-3.4.0RC2.tgz valid file.
    
    *************************************************
    * Installing imagick PHP Extension
    *************************************************
    Code:
    php -v
    PHP 7.0.0 (cli) (built: Dec 10 2015 16:36:58) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    
    Code:
    php --ri imagick
    
    imagick
    
    imagick module => enabled
    imagick module version => 3.4.0RC2
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 6.9.2-5 Q16 x86_64 2015-11-01 http://www.imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 6.9.2-5 Q16 x86_64 2015-11-01 http://www.imagemagick.org
    ImageMagick copyright => Copyright (C) 1999-2015 ImageMagick Studio LLC
    ImageMagick release date => 2015-11-01
    ImageMagick number of supported formats:  => 223
    ImageMagick supported formats => 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.skip_version_check => 0 => 0
    imagick.progress_monitor => 0 => 0
     
    Last edited: Dec 11, 2015
    • Like Like x 3
  12. RoldanLT

    RoldanLT Well-Known Member

    3,882
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:57 AM
    1.11
    10.2
    [​IMG]

    :/
     
  13. RoldanLT

    RoldanLT Well-Known Member

    3,882
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:57 AM
    1.11
    10.2
    Ok, reinstalled by menu 15, fixed it. :)
    [​IMG]
     
    • Like Like x 1
  14. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5
    update 123.09beta01 + centmin.sh menu option 15 :)
     
    • Like Like x 1
  15. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    6:57 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Great !

    Now i am waiting for igbinary support only :)
     
  16. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5

    PHP 7.0 + Zend OpCache & Huge Pages Support



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds for Zend OpCache Transparent Huge Pages support only if Centos 7 detected + kernel supports it (and redis server isn't installed) and specifically disable for Centos 6 due to PHP stalls and bugs when CentOS 6 has kernel level transparent huge pages support and PHP 7.0 is used with Zend Opcache. If you're using PHP 7.0, then update your Centmin Mod code as outlined in below threads and official upgrade page centminmod.com/upgrade.html and then recompile PHP via centmin.sh menu option 5.
    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
    • Informative Informative x 1
  17. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    6:57 AM
    1.9.10
    10.1.11
    I can't upgrade to php 7.0 with redis. Because i run the #5 option for upgrade php and i enter the version number 7.0.0 but when i look the php version, it looks 7.1.0-dev WHY ?

    I deleted the php 7.0.0 install folder and tried with menu option #5 again but same..
    rm -rf /svr-setup/php-7.0.0*

    And so, i give an error about redis. Because php 7.1 doesn't support phpredis
    So, how can i install the php 7.0.0.

    Note: I'm using Centminmod V1.2.3-Eva2000.08

    @eva2000
     
  18. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    5:57 AM
    1.9.9
    10.1.10
  19. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:57 PM
    Nginx 1.13.x
    MariaDB 5.5
  20. negative

    negative Member

    212
    20
    18
    Apr 11, 2015
    Ratings:
    +48
    Local Time:
    6:57 AM
    1.9.10
    10.1.11
    Centminmod v1.2.3-Eva2000.08 already latest version, right ?

    But when i run the centmin menu #23 then #1, terminal says :
    Code:
    etup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.08stable branch repo
    Cloning into 'centminmod'...
    Switched to a new branch '123.08stable'
    Branch 123.08stable set up to track remote branch 123.08stable from origin.
    
    list all available local branches
        git branch -a
    * 123.08stable
      master
      remotes/origin/123.06stable
      remotes/origin/123.07stable
      remotes/origin/123.08beta03
      remotes/origin/123.08beta03-el7ffmpeg-fix
      remotes/origin/123.08beta03-libresslclang
      remotes/origin/123.08beta03-rtmp
      remotes/origin/123.08beta03clang
      remotes/origin/123.08beta03curl743
      remotes/origin/123.08beta03libressl
      remotes/origin/123.08beta03redis
      remotes/origin/123.08centos7beta01
      remotes/origin/123.08centos7beta02
      remotes/origin/123.08stable
      remotes/origin/123.08stable-nginxhttp2
      remotes/origin/123.08zerodown
      remotes/origin/123.09beta01
      remotes/origin/123.09beta01le
      remotes/origin/HEAD -> origin/master
      remotes/origin/master
    
    list git log last commit
        git log -a
    commit 78dbccd6f7ce1830a4a897230a5bf188a5105368
    Author: George Liu <eva2000@centminmod.com>
    Date:   Sun Dec 13 07:41:55 2015 +1000
    
        update inc/csfinstall.inc
       
        reduce number of initial whitelisted ports out of the box
    What mean and how update inc/csfinstall.inc i dont understand ?