Install php-memcached for PHP 7.3 on bionic.

Asked by Sophie Freshwater

On Ubuntu 18.04 I am trying to install php-memcached for PHP 7.3.
Both PHP7.3 and PHP8 are installed.
apt-get install php-memcached results in selecting php8.0-memcached instead.
I have tried to specify a specific version for PHP7.3. I used apt-cache policy to get a list of options. There are only two:
Version table:
     3.1.5+2.2.0-9+ubuntu18.04.1+deb.sury.org+1 500
        500 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages
     3.0.1+2.2.0-1build2 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

So I tried `apt-get install php-memcached=3.0.1+2.2.0-1build2` but that results in an install for PHP7.2.

How can I install the PHP memcached module for PHP 7.3?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu php-memcached Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You have added a PPA so I suggest you contact the PPA maintainers to see if they can assist

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

There is no supported version of php 7.3 in Ubuntu bionic.

Apparently your php version comes from a PPA. In such case you probably also have to find a version of php-memcached from a PPA or other foreign source fitting to your php version.

Maybe one of the PPAs listed in https://launchpad.net/ubuntu/+ppas?name_filter=php-memcached delivers what you want.
But remember, these are PPAs in responsibility of the respective providers, and not covered by Ubuntu support.

Can you help with this problem?

Provide an answer of your own, or ask Sophie Freshwater for more information if necessary.

To post a message you must log in.