Call to undefined function CodeIgniter\locale_set_default()

Updated at 03-Mar-2022, By samar

Call to undefined function CodeIgniterlocale_set_default()

In this session, we will try our hand at solving the "Call to undefined function CodeIgniterlocale_set_default()".

You will get the solution for error Call to undefined function CodeIgniter\locale_set_default() by enabling the php intl extension using php.ini file.
  • Enable php intl extension using php.ini file

    --PATH E:\laragon\bin\php\php-8.0.16-Win32-vs16-x64\php.ini
    extension=intl
    

    Just find the ;extension=intl extension in php.ini file and remove the ;. In case if you did not find ;extension=intl just use the extension=intl in php.ini file.

    File path may be different.

Back to code snippet queries related codeIgniter