G
G
GrimJack2017-01-17 20:19:05
PHP
GrimJack, 2017-01-17 20:19:05

How to install zip and mCrypt for php7.0 on centos 7?

In general, I updated php to 7.0 (installed vestacp if it matters). Opencart requires zip and mcrypt to be enabled, but there is no information on how to install these extensions.
Here is an attempt to install zip, but it's still not there (server restarted)

yum install php70-php-common
Загружены модули: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.yandex.ru
 * epel: epel.mirror.far.fi
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
Выполнять нечего


yum install php-zip
Загружены модули: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.yandex.ru
 * epel: epel.mirror.far.fi
 * extras: centos.mirror.far.fi
 * updates: centos.mirror.far.fi
Пакет php-common-5.4.16-42.el7.x86_64 уже установлен. Проверка обновлений.
Выполнять нечего
There is no similar for mcrypt at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GrimJack, 2017-01-17
@GrimJack

Solved the problem by completely removing the php70-php package and installing php70w

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question