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: 500
        500 bionic/main amd64 Packages
     3.0.1+2.2.0-1build2 500
        500 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

English Edit question
Ubuntu php-memcached Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

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 :

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 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.