Discover Centmin Mod today
Register Now

Replace APC with Zend Opcache

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Oct 25, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    9:31 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi


    I am using APC and i want to disable it so i can use the Zend Opcache by installing it from the Centminmod menu.

    How can i disable APC and do i need to reinstall anything related to php so i can start using it?

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,738
    Local Time:
    5:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centmin.sh menu option 12 > submenu option 1 to install Zend Opcache - it auto disables APC Cache

    same if you upgrade to PHP 5.5 or 5.6 PHP-FPM - Enabling Opcache on php 5.5 | Centmin Mod Community it will ask if you want to switch to Zend Opcache

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08 - 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
    --------------------------------------------------------
    
    Code:
    --------------------------------------------------------
            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
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 1
    --------------------------------------------------------
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,074
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    9:31 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks :)

    Now i am using php 5.4 and i will try zend opcache and i will check later for a higher php version....