php update to 7.2 - mcrypt not updated

A

Anonymous

Guest
Hello -

I run Ubuntu 16.04.3 with latest updates/upgrades installed
with th recent php update to 1:7.2+59+ubuntu16.04.1+deb.sury.org.1)) - there is one update that hangs in queue - the php-mcrypt package. My package manager says 1 update pending - when I start "sudo apt upgrade" it is not shown.When I use the command "apt list --upgradeable -a" it shows the following information.

php-mcrypt/xenial,xenial 1:7.2+58+ubuntu16.04.1+deb.sury.org+1 all [aktualisierbar von: 1:7.1+55+ubuntu16.04.1+deb.sury.org+1]
php-mcrypt/now 1:7.1+55+ubuntu16.04.1+deb.sury.org+1 all [Installiert,aktualisierbar auf: 1:7.2+58+ubuntu16.04.1+deb.sury.org+1]
php-mcrypt/xenial,xenial 1:7.0+35ubuntu6 all

can anybody help me to fix my php environment?
many thanks
 
Have you checked if there are any problems with your PPA?
 
How would I know - I receive the php package and updates from http://ppa.launchpad.net/ondrej/php/ubuntu/

- I searched for mcrypt.ini on my computer and found several
file:///etc/php/7.0/apache2/conf.d/20-mcrypt.ini
file:///etc/php/7.0/cli/conf.d/20-mcrypt.ini
file:///etc/php/7.0/mods-available/mcrypt.ini
file:///etc/php/7.1/apache2/conf.d/20-mcrypt.ini
file:///etc/php/7.1/cli/conf.d/20-mcrypt.ini
file:///etc/php/7.1/mods-available/mcrypt.ini
file:///usr/share/php7.0-mcrypt/mcrypt/mcrypt.ini
file:///usr/share/php7.1-mcrypt/mcrypt/mcrypt.ini
file:///var/lib/ucf/cache/:etc:php:7.0:mods-available:mcrypt.ini
file:///var/lib/ucf/cache/:etc:php:7.1:mods-available:mcrypt.ini
Nothing for php version 7.2
Does this look normal?
 
This is a PHP forum, what you are trying to do is related to Ubuntu and a PPA.

Ubuntu 16.04 doesn't currently support PHP 7.2 in its repositories (standard software which is supported for updates) that is what trusted PPAs are for.

In this case the PPA you have may not have thoroughly tested mcrypt on PHP version 7.2, so you have a choice of doing it for yourself, searching for a solution or using PHP version 7.1.
 
Back
Top