![]() |
today i test codeigniter 4.6 on xampp with php 8.4.4 , it show error below:
Code: Fatal error: Uncaught Error: Call to undefined function CodeIgniter\Autoloader\mb_strpos() in E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Autoloader\FileLocator.php:292 Stack trace: #0 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Config\BaseService.php(417): CodeIgniter\Autoloader\FileLocator->findQualifiedNameFromPath() #1 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Config\BaseService.php(330): CodeIgniter\Config\BaseService::buildServicesCache() #2 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Config\BaseService.php(315): CodeIgniter\Config\BaseService::serviceExists() #3 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Config\BaseService.php(202): CodeIgniter\Config\BaseService::__callStatic() #4 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Common.php(1000): CodeIgniter\Config\BaseService::get() #5 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Boot.php(263): service() #6 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Boot.php(55): CodeIgniter\Boot::setExceptionHandler() #7 E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\index.php(56): CodeIgniter\Boot::bootWeb() #8 {main} thrown in E:\HELPER\SERVER\XAPP8212\htdocs\upload\landsoft\vendor\codeigniter4\framework\system\Autoloader\FileLocator.php on line 292
You need to read the service requirements to ensure CodeIgniter runs correctly:
CodeIgniter Requirements. Try modifying ;extension=mbstring in the php.ini file to enable extension mbstring.
Switch to Laragon, then all you need to do is just copy the php version into its php folder
and setup the php.ini file. You also need to install the vc17 redist file. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
The new version of Laragon has become a paid version, and it doesn’t seem like the right choice for me.
Docker simplifies everything
|
Welcome Guest, Not a member yet? Register Sign In |