Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

[Tutorial] Install php-zip, php-intl and php-imagick modules on Centos 7 with PHP 7.4

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
gregorio
Posts: 8
Joined: Thu Apr 16, 2020 9:03 pm

Os: CentOS 6x
Web: nginx + php-fpm
[Tutorial] Install php-zip, php-intl and php-imagick modules on Centos 7 with PHP 7.4
  • Quote

Post by gregorio » Sun Apr 26, 2020 7:03 pm

To install php-zip on Centos 7 with PHP 7.4:

Code: Select all

yum -y install php74-php-zip
ln -s /etc/opt/remi/php74/php.d/40-zip.ini /etc/php.d/40-zip.ini
ln -s /opt/remi/php74/root/usr/lib64/php/modules/zip.so /usr/lib64/php/modules/
Then restart php-fpm.

To install php-intl on Centos 7 with PHP 7.4:

Code: Select all

yum -y install php74-php-intl
ln -s /etc/opt/remi/php74/php.d/20-intl.ini /etc/php.d/20-intl.ini
ln -s /opt/remi/php74/root/usr/lib64/php/modules/intl.so /usr/lib64/php/modules/
Then restart php-fpm.

To install php-imagick on Centos 7 with PHP 7.4:

Code: Select all

yum -y install php74-php-imagick
ln -s /etc/opt/remi/php74/php.d/40-imagick.ini /etc/php.d/40-imagick.ini
ln -s /opt/remi/php74/root/usr/lib64/php/modules/imagick.so /usr/lib64/php/modules/
Then restart php-fpm.
Top

gregorio
Posts: 8
Joined: Thu Apr 16, 2020 9:03 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: [Tutorial] Install php-zip, php-intl and php-imagick modules on Centos 7 with PHP 7.4
  • Quote

Post by gregorio » Thu Sep 21, 2023 6:09 am

Thank you. In my case the PHP tutorial was not working because the ini was called 30-zip.ini instead of 40-zip.ini.

Fixed it like this:

Code: Select all

yum -y install php74-php-zip
ln -s /etc/opt/remi/php74/php.d/30-zip.ini /etc/php.d/30-zip.ini
ln -s /opt/remi/php74/root/usr/lib64/php/modules/zip.so /usr/lib64/php/modules/
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password