Call to undefined function CodeIgniter\locale_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.

Answers 1
  • Enable php intl extension using php.ini file

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

    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