The PHP Intl class is really handy in I18n's website, allowing you to rely on the end user area to easily output the correct date format.
After using yii2-app-ecom, after initialization, the Access home page appears:
The default currency code for the formatter are not defined.
Watched issue the default currency code for the formatter was not defined #7, said to install the php_intl extension.
Installation can be done by:
sudo apt-get Install Php_intl
When you're done installing, remember to restart Apache
sudo service apache2 restart
You can check that those extensions are running
Php-m
Of course, you can also use PHP code to check whether Intl allows
Var_dump (extension_loaded ('Intl'));
Article Reference Links:
Ubuntu:enabling the PHP INTL EXTENSION
Install PECL packages on Ubuntu (thought to install PECL, but to the last step, installation fails, requires PHP version >= 7.0)
Ubuntu Installation Php_intl Extensions