How to install PHP intl extension in Ubuntu. The reason why I installed it on my pc I got into problems the time I tried to Install moodle.
I received and error message which said “Intl extension is required to improve internationalization support, such as locale aware sorting and international domain names.“
So i had to install it to proceed
steps on how to install extension in Ubuntu.
sudo apt-get update
sudo php -v
sudo apt-get install php-intl
sudo service apache2 restart
After that you will be sorted.
What is PHP intl extension ?
A2 Hosting’s shared servers include support for PHP’s internationalization extension, which is named intl. This extension enables you to specify a locale for your PHP applications. A locale is simply is a collection of the following region-specific settings: The alphabetical order used to sort text strings. A2hosting gives more on that.
sources.list for Ubuntu 20.04 LTS (Focal Fossa)
As a developer you must be aware of most of these things because you really need them. like on the same page when i was installing i got these two extra errors .
Your database uses Antelope as the file format. Full UTF-8 support in MySQL and MariaDB requires the Barracuda file format. Please switch to the Barracuda file format. See the documentation MySQL full unicode support for details.
How to install PHP intl extension in Ubuntu
For full support of UTF-8 both MySQL and MariaDB require you to change your MySQL setting ‘innodb_large_prefix’ to ‘ON’. See the documentation for further details.
and also i got warnings like
if this test fails, it indicates a potential problem
It has been detected that your site is not secured using HTTPS. It is strongly recommended to migrate your site to HTTPS for increased security and improved integration with other systems.
should be installed and enabled for best results
Installing the optional SOAP extension is useful for web services and some plugins.
should be installed and enabled for best results
The XMLRPC extension is useful for web services and Moodle networking.