I am using Virtualmin as Control Panel on Centos 7 and I need to install php intl extension to use prestashop.
I used this command
yum --enablerepo=remi install php-intl
I also added this to php.ini
extension=intl.so
but its not working. Note that php -v
gives me
PHP Warning: Module 'intl' already loaded in Unknown on line 0
PHP 5.4.45 (cli) (built: Oct 22 2019 13:26:02)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
My website uses php v7.2 but the default servers php seems to be 5.4.45 (server uses multiple php versions)
I think that intl works for php 5.4 but not for 7.2 for sure. Do I need to install it using other ways since I use multi php?
You load intl.so file twice in /etc/php.d/
open all files and comment line with ";" in one of them where you load intl.so extension. Then restart Apache with sudo systemctl restart httpd
and will work correctly