Join the community today
Become a Member

[Solved] Install Upgrade Zend OpCache PHP 7.3.10 unable to install

Discussion in 'Bug Reports' started by EckyBrazzz, Sep 28, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    916
    189
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +362
    Local Time:
    11:32 PM
    Latest
    Latest
    Yesterday PHP 7.3.10 was released but now I can't install / reinstall Zend OpCache.

    Centmin says my version of PHP is 5.6, while I just Downgraded to 7.3.10


    Code (Text):
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 12
    --------------------------------------------------------
    
    --------------------------------------------------------
            Zend OpCache Sub-Menu            
    --------------------------------------------------------
    1). Install Zend OpCache
    2). Reinstall Zend OpCache
    3). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 2
    --------------------------------------------------------
    *************************************************
    * Re-Installing Zend Optimizer Plus OPcache
    *************************************************
    -------------------------------------------------------------------
    Current PHP branch: 7.3
    Current centmin.sh set PHP_VERSION: 5.6
    Current PHP upgrade version set:
    -------------------------------------------------------------------
    
    Detected PHP branch: 5.5 which has native support for Zend OPcache
    To re-install Zend OPcache run menu option #5 and specify PHP 5.5.0 or higher
    
    --------------------------------------------------------
            Zend OpCache Sub-Menu            
    --------------------------------------------------------
    1). Install Zend OpCache
    2). Reinstall Zend OpCache
    3). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 1
    --------------------------------------------------------
    *************************************************
    * Installing Zend Optimizer Plus OPcache
    *************************************************
    -------------------------------------------------------------------
    Current PHP branch: 7.3
    Current centmin.sh set PHP_VERSION: 5.6
    Current PHP upgrade version set:
    -------------------------------------------------------------------
    
    Detected PHP branch: 5.5+ which has native support for Zend OPcache
    To enable Zend OPcache run menu option #5 and specify PHP 5.5.0 or higher
    
    --------------------------------------------------------
    


    Did a step back to 7.3.9 and no problems with this, so @eva2000 work to do!
     
    Last edited: Sep 28, 2019
  2. EckyBrazzz

    EckyBrazzz Active Member

    916
    189
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +362
    Local Time:
    11:32 PM
    Latest
    Latest
    Did a step back to 7.3.9 and no problems with this, so @eva2000 work to do!
     
  3. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centmin.sh menu option 12 is mainly for PHP versions such as PHP 5.6 which didn't natively come with Zend Opcache support. For PHP 7+ has native support so installing it is simple as running centmin.sh menu option 5 and answering yes to Zend Opcache install prompt.
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:32 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    oh probably need to add a check for PHP 7.4, but still for PHP 7+, running centmin.sh menu option 5 and answering yes to Zend Opcache install prompt is the proper way as you want to install PHP 7+'s native Zend Opcache extension and not the standalone Zend Opcache extension meant for PHP 5.x
     
  5. EckyBrazzz

    EckyBrazzz Active Member

    916
    189
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +362
    Local Time:
    11:32 PM
    Latest
    Latest
    Works with 7.3.8, not with 7.3.9+ Will upgrade again to 7.3.10 and test again.

    Yes noticed even on 7.4 that on option 5 I can select if I want to native Zend Opcahce extension, but that will only work 28-november, maybe they include it sooner as they probably do with Fedora.

    Code (Text):
    ----------------------------------------------------------------
    Current PHP Version: 7.3.8
    
    Enter PHP Version number you want to upgrade/downgrade to: 7.3.10
    
    Do you still want to continue? [y/n] y
    
    ----------------------------------------------------------------
    existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_280919-025226
    ----------------------------------------------------------------
    
    -----------------------------------------------------------------------------------------
    Detected PHP 7.3 branch.
    You can compile Zend OPcache (Zend Optimizer Plus+) support
    as an alternative to using APC Cache or Xcache cache.
    But Zend OPcache only provides PHP opcode cache and
    DOESN'T do data caching, so if your web apps such as Wordpress,
    Drupal or vBulletin require data caching to APC or Xcache,
    it won't work with Zend OPcache.
    
    -----------------------------------------------------------------------------------------
    Do you want to use Zend OPcache [y/n] ? y