lsphp56-opcache

Discussion in 'General OpenLiteSpeed Discussion' started by ckissi, Jul 27, 2017.

  1. ckissi

    ckissi Member

    Is anywhere lsphp56-opcache library available somewhere or any other kind of opcode cache available for lsphp 5.6 under Ubuntu?

    I didn't find any.
     
  2. lsfoo

    lsfoo Administrator

    It should be there, not sure why it isn't. We'll look into that specifically.

    Looking in our repo list, I do see it packaged for php 70/71, so if you want to use either of those, that could in the meantime.
     
  3. lsfoo

    lsfoo Administrator

    Please try upgrading lsphp with apt-get, they should be there now.

    Note that to get opcache working, you will need to set the following in your php.ini file:
    Code:
    zend_extension=opcache.so
    opcache.enable=1
     
  4. ckissi

    ckissi Member

    I tried to install new packages from the repository unfortunately nothing new there...

    (Ubuntu 16.04)

    first I did apt-get update and later the following...

    root@vm3:~# apt-get install lsphp56-*
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'lsphp56-mcrypt' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-gmp' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-curl' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-pgsql' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-ldap' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-mysqlnd' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-imap' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-intl' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-odbc' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-snmp' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-gd' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-xsl' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-mysql' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-xmlrpc' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-enchant' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-pspell' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-sqlite' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-recode' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-tidy' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-dbg' for glob 'lsphp56-*'
    Note, selecting 'lsphp56-dev' for glob 'lsphp56-*'
    The following packages will be upgraded:
    lsphp56-curl lsphp56-dbg lsphp56-dev lsphp56-enchant lsphp56-gd lsphp56-gmp lsphp56-imap lsphp56-intl lsphp56-ldap lsphp56-mcrypt lsphp56-mysql lsphp56-odbc lsphp56-pgsql lsphp56-pspell lsphp56-recode lsphp56-snmp lsphp56-sqlite lsphp56-tidy lsphp56-xmlrpc
    lsphp56-xsl
    20 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
     
  5. ckissi

    ckissi Member

    No opcache package is still available

    root@vm3:~# apt-cache search lsphp56
    lsphp54-dev - Files for LSPHP56 module development
    lsphp55-dev - Files for LSPHP56 module development
    lsphp56 - server-side, HTML-embedded scripting language (LSAPI binary)
    lsphp56-curl - CURL module for lsphp56
    lsphp56-dbg - Debug symbols for LSPHP56
    lsphp56-dev - Files for LSPHP56 module development
    lsphp56-enchant - Enchant module for lsphp56
    lsphp56-gd - GD module for lsphp56
    lsphp56-gmp - GMP module for lsphp56
    lsphp56-imap - IMAP module for lsphp56
    lsphp56-intl - internationalisation module for php5
    lsphp56-ldap - LDAP module for lsphp56
    lsphp56-mcrypt - MCrypt module for lsphp56
    lsphp56-mysql - MySQL module for lsphp56
    lsphp56-odbc - ODBC module for lsphp56
    lsphp56-pgsql - PostgreSQL module for lsphp56
    lsphp56-pspell - pspell module for lsphp56
    lsphp56-recode - recode module for lsphp56
    lsphp56-snmp - SNMP module for lsphp56
    lsphp56-sqlite - SQLite module for lsphp56
    lsphp56-tidy - tidy module for lsphp56
    lsphp56-xmlrpc - XML-RPC module for lsphp56
    lsphp56-xsl - XSL module for lsphp56
     
  6. ckissi

    ckissi Member

    My mistake...

    Got it working by: apt-get upgrade lsphp56, then enabling opcache in php.ini.

    I didn't know there is no need for package like lsphp56-opcache

    thank you.
     
    lsfoo likes this.

Share This Page