I'm on Ubuntu 17.10 PHP Version: 7.1
I already tried this:
sudo apt-get install php7.1-intl
sudo service apache2 restart
But when I var_dump extension_loaded('intl')
it returns false. How can I enable this mod?
I'm on Ubuntu 17.10 PHP Version: 7.1
I already tried this:
sudo apt-get install php7.1-intl
sudo service apache2 restart
But when I var_dump extension_loaded('intl')
it returns false. How can I enable this mod?
on the console enter:
sudo phpenmod intl
and the restart the apache webserver:
sudo service apache2 restart
First you check the php.ini file location. For that use a php file and write:
phpinfo();
Then load this file in browser. You can see which config file php is using.
In the php.ini find this line:
;extension=php_intl.dll
and change to
extension=php_intl.dll
Restart your apache
sudo service apache2 restart