Can't run codeigniter 4 on macOS Sonoma (v14.4.1) |
Hi everyone. I am trying to install CodeIgniter 4 on my MacBook Pro M1. I started by installing XAMPP, then I installed Composer, and afterwards, I enabled the extensions required in the official documentation. Everything went smoothly until I tried to view my project at localhost/project-name/public. I am receiving the following error: Class "Locale" not found on the following function:
Code: public function initialize() I already check if intl extension is enabled by typing this command: php -m | grep intl And it returns "intl". Does anyone knows what might be? Do i need to check something in particulary?
Don't use XAMPP for Mac.
XAMPP does not have intl. If you use XAMPP, you need to compile intl.so by yourself. If `php -m | grep intl` returns intl, the cli php command works. Run `php spark serve` at the root directory of your project.
@InsiteFX Oh, yes. I meant XAMPP for Mac.
I found this thread: https://forum.codeigniter.com/printthread.php?tid=81860
Do you guys have a simple guide about how to perform a clean install on mac using MAMP? Do I need to install other things a part composer ? Thanks
|
Welcome Guest, Not a member yet? Register Sign In |