install redis on php 7 (lsphp70)

Discussion in 'General OpenLiteSpeed Discussion' started by adz, Sep 11, 2017.

  1. adz

    adz New Member

    guys can anyone give me step by step (terminal commands) how to get redis working on my openliteserver, i'm currently using php7 on ubuntu 14x...

    cheers!
     
  2. lskagan

    lskagan Administrator

    Currently we do not have a prepackaged .deb file for redis. We are always looking on how to improve our repos and we will look into adding redis for future updates to PHP. Until then, the easiest way to get up and running with redis would be with PECL and PEAR.

    We have a wiki on this here for Enterprise but should work the same for OLS: https://www.litespeedtech.com/suppo...cl-extension#install_the_pear_package_manager

    Just replace 55 and imagick with the version and pecl package you want to install. You might need to install the following as well for the module to be built: apt-get install build-essential autoconf
     
    adz likes this.
  3. adz

    adz New Member

    what are the commands to install redis, once PECL and PEAR are installed?
     
  4. lskagan

    lskagan Administrator

    Should be something like this:
    /usr/local/lsws/lsphp55/bin/pecl install redis
     
    adz likes this.
  5. adz

    adz New Member

    okay i installed em all, now how do i check if redis is working?
     
  6. Cold-Egg

    Cold-Egg Administrator

Share This Page