Memcached install for other php versions ; 7.4

Discussion in 'Installation/Configuration' started by kameleon1er, Feb 5, 2023.

  1. kameleon1er

    kameleon1er Member

    Hello to all,
    I would like to install Memcached on the server to boost my wordpress sites a bit. I installed it following the HowTo on Debian guidelines:

    https://www.howtoforge.com/how-to-install-and-configure-memcached-on-debian-11/

    It is running :

    Code:
    memcached.service - memcached daemon
       Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled)
       Active: active (running) since Sun 2023-02-05 04:48:08 UTC; 10h ago
         Docs: man:memcached(1)
     Main PID: 15136 (memcached)
        Tasks: 10 (limit: 4915)
       Memory: 3.5M
       CGroup: /system.slice/memcached.service
               └─15136 /usr/bin/memcached -m 1000 -p 11211 -u memcache -l 127.0.0.1 -P /var/run/memcach
    But I think, that this installation is for PHP 8.1

    My sites in IspConfig are enabled with PHP 7.4/PHP-FMP, so what is the most efficient and easiest way to make it work on other versions of PHP?

    Switch everything to php 8 ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Memcached is not running for a specific PHP version, it's a deamon that can be accessed by any PHP version that you installed the Memcached extension for. So if you can access Memcached from a specific PHP version depends on the fact if you installed the phpX.X-memcached package for the PHP version that you want to use it for.
     

Share This Page