05 Dec 2020
The requested PHP extension ext-intl * is missing from your system - installation code iginter 4 - solved
Solved Installation Code iginter 4 with eror The requested PHP extension ext-intl * is missing from your system. Instal l or enable PHP's intl extension.
Well... if you have a problem with composer install with
The requested PHP extension ext-intl * is missing from your system
Dont panic.. just go on your xampp/php folder then edit the php.ini file..
You need just insert a code on your php.ini file with :
extension=intl
Then save the files.
Indonesia : ya ketika kamu mau jalanin composer pada project code iginter 4 kamu tentu nya kadang kamu mengalami hal demikian seperti diatas, jadi langkah pertama yang perlu kita lakukan edit file seperti diatas yak gaes.. niscaya kamu bercahaya deh.. wkwkwk....
open npm or gitbash and then try run composer instal , and viola.... your problem about The requested PHP extension ext-intl * is missing from your system - is solved now.
I have a problem with composer installation using code iginiter v.4, and i solve my problem with this tips, i hope this post article can help your problem about The requested PHP extension ext-intl * is missing from your system - installation code iginter 4 - solved.
Indonesia : yak setelah menyimpan file konfigurasi seperti diatas maka kini composer sudah bisa jalan deh... senyum dong.. heheh...
If you install code iginter and eror with :
Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in C:\xampp\htdocs\CodeIgniter4-4.0.4\system\CodeIgniter.php:184 Stack trace: #0 C:\xampp\htdocs\CodeIgniter4-4.0.4\system\bootstrap.php(181): CodeIgniter\CodeIgniter->initialize() #1 C:\xampp\htdocs\CodeIgniter4-4.0.4\public\index.php(36): require('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\CodeIgniter4-4.0.4\system\CodeIgniter.php on line 184
You just need open codeigniter file system\codeigniter.php then search on comand line at 184. locale_set_default($this->config->defaultLocale ?? 'en');
remove the code then you can copy this code :
if( function_exists('locale_set_default' ) ) :
locale_set_default($this->config->defaultLocale ?? 'en');
endif;
Then visit your code iginter project and viola... now CI4 is work normaly.
Indonesia : composer sudah sukses melakukan installasi selanjutnya ketika open pada project CI 4 kamu masih menghadapi masalah lagi, apasih kendala saat installasi code iginter 4 ini ?? tenang jangan kawatir ambil kopi dan sruput sedikit kopi mu , biar kamu ngerasakan gimana paitnya kehidupan setelah itu ada kenikmatan dan kepuasan dengan aroma kopi... oke tunjek point gaes.. permasalahan ini kamu tinggal masuk ke file syste\codeiginter.php dan edit pakek notepad ++ atau VS code kamu, cari deh alamat palsu.. eh salah cari ke line 184 nah disana ketemu ama ayu ting ting :D , hehe... cukup... lanjut... tinggal kamu hapus kode di line 184 itu dan ganti dengan kode diatas yes,, scrol bentar naik dulu... copy paste and simpan... dan selamat deh kini kamu bisa nikmatin CI 4 ini.