CodeIgniter Forums
Error Class "Locale" not found - 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 Class "Locale" not found (/showthread.php?tid=85249)



Error Class "Locale" not found - MAGAMIKE - 12-09-2022

I'm new using CodeIgniter.
I installed CodeIgniter 4 in my web site via cPanel/Softaculous in the root directory, i made the changes in app.php and databases.php but when I try to run for first time, i receive and screen with the next message: Error Class “Locale” not found, SYSTEMPATH/CodeIgniter.php at line 186.
I'm using PHP 8.0 and add extension=intl in the php.ini file located in the root directory.
Someone who can help me?


RE: Error Class "Locale" not found - datamweb - 12-11-2022

Hello, welcome to CodeIgniter.

CI It needs some things to run properly.
more info see :
https://codeigniter.com/user_guide/intro/requirements.html

So enable the intl extension. Locale is a class from ext-intl.
Your problem is related to intl extension being inactive or ext-intl not being installed on the server that uses it.
Make sure it is installed and active to fix the problem.

If you do not have access to install the plugin or activate it, ask your host to do it for you.


RE: Error Class "Locale" not found - InsiteFX - 12-12-2022

PHP.ini
PHP Code:
Remove the semi-colon.
;
extension=intl

Like this.
extension=intl 



RE: Error Class "Locale" not found - Pravinh - 12-13-2022

https://arjunphp.com/install-intl-extension-xampp/