'CodeIgniter 4 problem installing with manual
CodeIgniter\Exceptions\FrameworkException The framework needs the following extension(s) installed and loaded: {0}. SYSTEMPATH\CodeIgniter.php at line 224
Solution 1:[1]
I faced same issue and resolve by following below steps:
go to the app=> Config => Boot => production.php in your project
Change the ini_set('display_errors', '0') to ini_set('display_errors', '1') above will show you the error detail then do the following:
Open [xampp_folder_path]/php/php.ini to edit.
Search for ;extension=intl and remove the ;.
Save the php.ini file and restart Apache.
reference/thanks to: Chibueze Agwu and mail2bapi
Solution 2:[2]
Look for the php.ini file(C:\xampp\php\php.ini:921) and search for the
extension=intl
line, and
uncomment. Then run the command php spark serve, in the terminal of your application path.
Solution 3:[3]
For linux user:
the php used by the apache webserver
/etc/php/{version}/apache2/php.ini
the php used by the terminal/command line
/etc/php/{version}/cli/php.ini
In both case (apache/cli), Search for ;extension=intl and remove the ;.
The next to do is to install the extension if not exist
sudo apt-get install php7.4-intl
Afterwards, restart your apache
sudo systemctl restart apache2
Voila, problem solved
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | Davi |
| Solution 3 | Alatise Oluwaseun |
