


Most likely this error you experience has nothing to do with Codeigniter. For example (I just googled, I did not check the content):
MAMP WORDPRESS PHP.INI NOT UPDATING HOW TO
So you should probably search for information on how to enable the intl extension on MAMP resources.
MAMP WORDPRESS PHP.INI NOT UPDATING MAC
Judging from the directory where your codeigniter is installed - " /Applications/MAMP/htdocs/" I guess that you run a Mac version of MAMP. In the same place running "php -v" will tell you what version of php it is, php -i will spit out a lot of info, including, mayhaps, the extensions that are enabled. When you run "php spark serve" in command line, you run the same php that is in your system or user PATH variable (or a php executable in the same directory - which is not your case clearly). why on earth is CI being such a dick about it? I didn't fuck around with any of the system files.

the framework handle the request from here. Otherwise, we'll load the index file and let and the problems just pile up.īurning the midnight oil I'm at this error:įailed to open stream: No such file or directory in /Applications/MAMP/htdocs/platform-codeigniter/system/Commands/Server/rewrite.php on line 43 totally impossible to 'connect' the PHP installed with it to the one CI uses. (Home)Brew is a piece of crap that just adds to the confusion. WHAT can I do to just make 'things' work again (as they simply used to do)? I'm very close to ditchin' CI entirely as it leaves me with no confidence it's a good choice if I have to spend this huge amount of time just getting the bugger running again. that is, until the next error turned up (being database connection related): and so it' been for the entire day. I replaced the system folder – out of pure frustration, and Voila! The error was gone. But I run into a serious of problems that I'm completely frustrated having to spend time trying to fix. I installed PHP using brew, and has it running. I have MAMP running all my WordPress projects, but this specific project runs php using spark (as – sort of – recommended by the docs). And I'm having a complete nightmare figuring out which instance of PHP is running om my machine in relation to PHP SPARK.
