Want to subscribe to topics you're interested in?
Become a Member

Xenforo APC or Memcache

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

  1. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,204
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,814
    Local Time:
    7:02 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  2. Jon Snow

    Jon Snow Active Member

    527
    72
    28
    Jun 30, 2017
    Ratings:
    +116
    Local Time:
    6:02 AM
    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

    44,750
    10,204
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,814
    Local Time:
    7:02 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    527
    72
    28
    Jun 30, 2017
    Ratings:
    +116
    Local Time:
    6:02 AM
    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

    44,750
    10,204
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,814
    Local Time:
    7:02 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    centmin mod 123.09beta01's PHP 7.1 supports memcache/memcached fine :)