Welcome Guest, Not a member yet? Register   Sign In
How to fix codeigniter 4.6 run xampp with php 8.4.4
#1

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
can someone show me fix?
thank your for your helping
Reply
#2

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.
Reply
#3

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 )
Reply
#4

The new version of Laragon has become a paid version, and it doesn’t seem like the right choice for me.
Reply
#5

whats wrong with using good old Apache on your computer ?
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply
#6

Docker simplifies everything
Reply
#7

(03-02-2025, 07:09 PM)grimpirate Wrote: Docker simplifies everything
Got it!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB