Welcome to Centmin Mod Community
Become a Member

Xenforo APC or Memcache

Discussion in 'Forum software usage' started by KeVo, Jun 30, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    54,882
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  2. Jon Snow

    Jon Snow Active Member

    840
    170
    43
    Jun 30, 2017
    Ratings:
    +257
    Local Time:
    12:48 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    Came across a problem.
    Code (Text):
    Zend OpCache Sub-Menu
    --------------------------------------------------------
    1). Install Zend OpCache
    2). Reinstall Zend OpCache
    3). Back to Main menu

    Not sure if I should choose 1 or 2. I just chose not to install Zend Opcache when I was upgrading PHP. I had it install once but for the final PHP upgrade, I chose not to have it installed.

    I found the file though :
    Code:
    /usr/local/nginx/html/BunchOfLetters&Numbers_opcache.php
    So is it already installed to leave it be and just work with trying to set up memcached?
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,882
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    That submenu is only really for PHP <5.6. For PHP >5.6, run centmin.sh menu option 5 to recompile PHP and answer yes to Zend Opcache install. The file is only opcache stats page, it doesn't necessarily mean Zend Opcache is installed, to see if it's installed check commands
    Code (Text):
    php -v
    

    Code (Text):
    php -m
    


    example
    Code (Text):
    php -v
    PHP 7.0.21 (cli) (built: Jul  6 2017 18:20:29) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.21, Copyright (c) 1999-2017, by Zend Technologies
    

    Code (Text):
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    
     
  4. Jon Snow

    Jon Snow Active Member

    840
    170
    43
    Jun 30, 2017
    Ratings:
    +257
    Local Time:
    12:48 PM
    Nginx 1.13.9
    MariaDB 10.1.31
    About to upgrade to PHP 7. I read some outdated information (not sure if it changed) that memcache isn't supported on PHP 7 yet (not sure if it will be or if it's already in 7.1.x).

    Should I keep my /library/config.php file with the contents of Libmemcached/Memcached server backend cache?
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,882
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    1:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centmin mod 123.09beta01's PHP 7.1 supports memcache/memcached fine :)