CodeIgniter Forums
CodeIgniter 4 error on index.php. Needs extension: {0} - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: CodeIgniter 4 error on index.php. Needs extension: {0} (/showthread.php?tid=79094)



CodeIgniter 4 error on index.php. Needs extension: {0} - Ygd - 04-19-2021

Hi! 
I try to host my codeigniter 4 website and it throws this error:

CodeIgniter\Exceptions\FrameworkException
The framework needs the following extension(s) installed and loaded: {0}. 

Both intl and mbstring are enabled. 
The project works fine on local when I use "php spark serve" but throw this error on shared hosting, or when I try to access the index.php page in public folder. 

Thanks in advance.


RE: CodeIgniter 4 error on index.php. Needs extension: {0} - InsiteFX - 04-19-2021

Your missing the (International) intl extension in your php.ini


RE: CodeIgniter 4 error on index.php. Needs extension: {0} - paulbalandan - 04-22-2021

You say intl is enabled but your exception message says otherwise. Run this code in your terminal to see if it is really running.
Code:
php --ri intl