4.0.3 works but 4.0.4 is broken for me - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: 4.0.3 works but 4.0.4 is broken for me (/showthread.php?tid=77086) Pages:
1
2
|
RE: 4.0.3 works but 4.0.4 is broken for me - Cathal - 10-24-2020 (07-17-2020, 05:37 PM)Sepharad Wrote: Auto-respone: if anyone is using xampp the quick way to fix this is open php.ini and uncomment: Worked perfectly - thanks a mil RE: 4.0.3 works but 4.0.4 is broken for me - CasperF - 11-01-2020 (07-18-2020, 03:48 AM)InsiteFX Wrote: If you had read the CodeIgniter 4 User Guide Server Requirements Hi, I am having the same difficulty, but using a Mac (Catalina). When I go to start the development server from terminal with php spark serve I get the same error. With the default mac installation of php I can not find the ini to uncomment the extension. If I php --ini I get the following: Quote:Configuration File (php.ini) Path: /etc In /etc there is no php.ini to edit. I googled to find a way to create an additional php.ini, but was not able to find anything useful. How does one go about this? Thanks RE: 4.0.3 works but 4.0.4 is broken for me - InsiteFX - 11-01-2020 If you move any folder from where spark is you need to edit spark and change the path from public to where you moved it. RE: 4.0.3 works but 4.0.4 is broken for me - CasperF - 11-01-2020 Hi, I'm not exactly sure what you mean. I didn't move any folder. I am talking about the error message from the initial question: Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() If I add if function_exists() to the initialize() function in ./system/CodeIgniter/CodeIgniter.php as User John_Betong suggested everything works, but I realize that this is not a good workaround. The question is: How can I change the php.ini for the default installation on Mac OS, without having to install a second version of PHP through Homebrew or something? Or can I some how load the intl extension using the spark file? Thanks |