Welcome to Centmin Mod Community
Become a Member

Replace APC with Zend Opcache

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

  1. pamamolf

    pamamolf Well-Known Member

    2,539
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    11:48 AM
    Nginx-1.13.x
    MariaDB 10.1.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

    29,054
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    6:48 PM
    Nginx 1.13.x
    MariaDB 5.5
    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
    --------------------------------------------------------
     
    • Like Like x 1
  3. pamamolf

    pamamolf Well-Known Member

    2,539
    231
    63
    May 31, 2014
    Ratings:
    +394
    Local Time:
    11:48 AM
    Nginx-1.13.x
    MariaDB 10.1.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....