cancel
Showing results for 
Search instead for 
Did you mean: 

install deprecated php7.1 mcrypt php7.1-zip

install deprecated php7.1 mcrypt php7.1-zip

does anybody know how to install mcrypt and zip in ubuntu 18.04

Google says is't deprecated, but magento 2 does require it.

 

. Setup installation for magento is  outputting this follow: 

Your PHP version is correct (7.0.32-4+ubuntu18.04.1+deb.sury.org+1).

Theese two extentionsmissing and not able to install.

PHP Extension zip.

PHP Extension mcrypt.

 

 

5 REPLIES 5

Re: install deprecated php7.1 mcrypt php7.1-zip

Hello @adele_skjerdal,

 

Could please tell me which PHP version do you have and which Magento version are you installing?

Thanks.

Re: install deprecated php7.1 mcrypt php7.1-zip

Hi @adele_skjerdal

 

I would suggest you to run below commands : 

 

sudo apt-get install php7.1 php7.1-common -y
sudo apt-get install php7.1-zip php7.1-mcrypt

have you tried to run above commands and install this php remaining extensions ?

 

 

if issue solved,Click Kudos & Accept as Solution

Re: install deprecated php7.1 mcrypt php7.1-zip

Hello , 

The magento is latest, ver 2.2.6

And the php is 7.1.24 on ubuntu 18.04

Re: install deprecated php7.1 mcrypt php7.1-zip

This is what i get then im using the installs as mention. ubuntu.png

Re: install deprecated php7.1 mcrypt php7.1-zip

was able to install your installs if i run this before:

sudo add-apt-repository universe.

But still the install stops on mcrypt and zip extentions2018-11-15 08_01_57-Window.png