i just copy codeingiter 4 in my XAMPP for Linux 7.4.3 which have PHP Version 7.4.3
but getting error like
Whoops!
We seem to have hit a snag. Please try again later...
Rename the env file as .env, then remove # from CI_ENVIRONMENT and modify
CI_ENVIRONMENT = production
into
CI_ENVIRONMENT = development
By Defaults CI 4 comes with production platform so it not showing the errors on the frontend. To see the errors, Open .htaccess file from the root and then enter
SetEnv CI_ENVIRONMENT development
it change the environment to development the alternate way open .env file and then change the CI_ENVIRONMENT to development like that
CI_ENVIRONMENT = development
Remember don't forget to remove # from the begining
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With