Page 1 of 1

ZipArchive extension [Centos 7]

Posted: Mon Jul 31, 2017 8:01 am
by zxc
Hello,

Im facing a problem at my VestaCP server. Recently installed a script, it was working fine before clean vestacp installs but now im getting that error "ZipArchive extension is NOT installed on your web server !". Im googled it but still cant find a working solution work Centos 7. Edited php.ini many times to load module.

Re: ZipArchive extension [Centos 7]

Posted: Wed Aug 02, 2017 10:01 am
by tjebbeke
What script have you installed?

Re: ZipArchive extension [Centos 7]

Posted: Wed Aug 02, 2017 10:03 am
by zxc
tjebbeke wrote:What script have you installed?
My customer installed a social script (friendship) that bought from themeforest. I dont know script name. The full error is "ZipArchive extension is NOT installed on your web server !"

Re: ZipArchive extension [Centos 7]

Posted: Wed Aug 02, 2017 10:06 am
by tjebbeke
zxc wrote:
tjebbeke wrote:What script have you installed?
My customer installed a social script (friendship) that bought from themeforest. I dont know script name. The full error is "ZipArchive extension is NOT installed on your web server !"
Maybe it is an error in the script? So ask the creator what to do? I think it is not related to Vesta CP.

Re: ZipArchive extension [Centos 7]

Posted: Wed Aug 02, 2017 10:08 am
by zxc
tjebbeke wrote:
zxc wrote:
tjebbeke wrote:What script have you installed?
My customer installed a social script (friendship) that bought from themeforest. I dont know script name. The full error is "ZipArchive extension is NOT installed on your web server !"
Maybe it is an error in the script? So ask the creator what to do? I think it is not related to Vesta CP.
Was working with old vestacp installs. Now facing with that error. Dont know from centos 7 kernel or something else so ive got no idea.

Re: ZipArchive extension [Centos 7]

Posted: Thu Aug 03, 2017 10:42 am
by Phogo
This isn't a vestaCP issue, its your PHP.

Run the following and it should resolve your issues

Code: Select all

yum install php-pecl-zip

Re: ZipArchive extension [Centos 7]

Posted: Thu Aug 03, 2017 10:44 am
by zxc
Phogo wrote:This isn't a vestaCP issue, its your PHP.

Run the following and it should resolve your issues

Code: Select all

yum install php-pecl-zip
Package php-pecl-zip-1.15.1-1.el7.remi.5.6.x86_64 already installed and latest version
Nothing to do.

Re: ZipArchive extension [Centos 7]

Posted: Thu Aug 03, 2017 11:27 am
by Phogo
Presumably you've restarted php and apache/nginx?

Re: ZipArchive extension [Centos 7]

Posted: Thu Aug 03, 2017 11:37 am
by zxc
Phogo wrote:Presumably you've restarted php and apache/nginx?
Im restarted services, then rebooted server but still same

Re: ZipArchive extension [Centos 7]

Posted: Fri Oct 20, 2017 10:38 am
by jegorx
Try to

Code: Select all

yum -y install php56-php-pecl-zip
Depending on which php version you have "php -v" you should use php54, php55, php56, etc...