
Halo, kalau kamu merasa tulisan saya ngebantu kamu, kamu bisa ucapkan terima kasih lewat saweria .
Hello, if you find this article helpful, you can express your gratitude through saweria .

Error When Using php spark serve
Problems
-
It can be caused because your CodeIgniter version was too high.
-
Your PHP version was too high.
How to Fix
-
Remove the composer.lock file and the vendor directory by running
rm composer.lock && rm -rfv vendor/
-
Use a specific version of CodeIgniter and modify your composer.json file by running
composer require codeigniter4/framework:4.3.3
-
Then, re-install your application packages by running
composer install
-
If still error, try using lower PHP version