You are not logged in.

#1 2017-12-04 09:41:28

ExoDoom
Member
Registered: 2013-11-01
Posts: 35

PHP 7.2 and php56-mcrypt

Hi guys!

I have php (7.1.12-1) and php56 (5.6.32-1) installed on my Arch. I need both of them, as we have projects at work in both Magento (doesn't support php7) and Magento 2 (best performance with php7). As long as php56 puts all its stuff at /etc/php56, /lib/php56, etc., there was no problem in having both installed, I even created a small bash script to switch between them swiftly.

But now, PHP 7.2 moves the mcrypt extension to PECL, and extra/php package conflicts with aur/php56-mcrypt. I have IgnorePkg'd all php (7.2) stuff, so no php update forces me to get rid of php56-mcrypt, but would like to keep my system up to date AND preserve php56 mcrypt support. I guess I could remove php56-mcrypt and keep mcrypt.so, keep an eye on php56 updates, IgnorePkg them, or so on... but I really wonder if there's a "legit" way to do this.

Thanks in advance.

Offline

#2 2017-12-04 12:20:55

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: PHP 7.2 and php56-mcrypt

The conflict between php 7.2 and php56-mcrypt seems to be a mistake, check https://lists.archlinux.org/pipermail/a … 44469.html

Last edited by Lone_Wolf (2017-12-04 12:21:56)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2017-12-04 15:04:42

ExoDoom
Member
Registered: 2013-11-01
Posts: 35

Re: PHP 7.2 and php56-mcrypt

Thank you very much, Lone_Wolf.

Offline

#4 2017-12-06 19:05:23

railondi
Member
Registered: 2017-12-05
Posts: 1

Re: PHP 7.2 and php56-mcrypt

i have the same problem, please fix it.

Offline

#5 2017-12-06 19:36:20

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,858
Website

Re: PHP 7.2 and php56-mcrypt

It has been fixed. Update your system.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2017-12-06 19:38:30

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: PHP 7.2 and php56-mcrypt

It already has been fixed, either update or wait for your mirror to catch up

Offline

Board footer

Powered by FluxBB