You are not logged in.

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

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

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: 6,137

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)


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Online

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

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

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: 8,073
Website

Re: PHP 7.2 and php56-mcrypt

It has been fixed. Update your system.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 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: 724

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