G
G
GrimJack2017-03-28 17:54:53
PHP
GrimJack, 2017-03-28 17:54:53

How to enable zip in php7 ispmgr?

Server on ubuntu 16.04, ispmgr 5 lite and default php 7. One script needs ziparchive class. I wanted to install via php->extensions, but it's not there. How to correctly install this package so as not to put the entire server? Google did not give a normal answer, there is no way to check any link from Google.

php -v
PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.15-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by Zend Technologies
php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
geoip
gettext
hash
iconv
imap
intl
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
Phar
posix
pspell
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GrimJack, 2017-03-28
@GrimJack

Once again, the decision with larakasts saved me

For LL
sudo apt-get install php7.0-zip

S
Sanes, 2017-03-28
@Sanes

Web Server Settings=>PHP=>Extensions
Called zip

E
Evgeny Nikolaev, 2019-12-25
@nikolaevevge

For the panelless case, run yum install php-pecl-zip on the CentOs command line for PHP 7.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question