CodeIgniter Forums
Error install CodeIgniter 4 - Require ext-intl - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Error install CodeIgniter 4 - Require ext-intl (/showthread.php?tid=84929)



Error install CodeIgniter 4 - Require ext-intl - MonatalBrowink - 11-24-2022

I use macOS BigSur operating system and have PHP 8.0.8 in XAMPP installed. When I want to download CodeIgniter 4 using composer, an error message appears in my terminal like this:

Problem 1 - codeigniter4/framework[4.0.0, ..., v4.1.3] require ext-intl * -> it is missing from your system. Install or enable PHP's intl extension. - Root composer.json requires codeigniter4/framework ^4 -> satisfiable by codeigniter4/framework[4.0.0, ..., v4.1.3]

I've tried to see the list of extensions in php by php -m or php -m | grep intl but the result is no intl, then I try to see with phpinfo() through the browser the result is still the same no intl, but json is there.

Then I try to remove the semicolon in the php.ini file for the

intl extension

and I restart apache the error is still there.

can anyone help me?


RE: Error install CodeIgniter 4 - Require ext-intl - kenjis - 11-24-2022

(11-24-2022, 04:21 AM)MonatalBrowink Wrote: Then I try to remove the semicolon in the php.ini file for the

intl extension

and I restart apache the error is still there.

You might edit wrong php.ini file. There are many php.ini files in your system.
Check the full path of the php.ini by `phpinfo()` and `php --ini` command.