Hit up this page and you’ll see the following, do it. Installation from here is rather easy, following But first, ComposerĬakePHP uses composer for installation, so we’ll need to install composer first. Then then type the following to confirm the path: This will refresh your terminal windows to use this new profile. This will set the php command to be set to MAMP’s PHP instead of the PHP that came with Mac. ![]() bash_profile and add the following line:Įxport PATH =/Applications/MAMP/bin/php/php7.3.7/bin:$PATH In Terminal, go to your home directory, then edit. I came across this lovely blog post which helped. It may be possible to install it all, I trust it is, but this was much easier and faster. The PHP that comes with Mac doesn’t have the necessary extensions installed. If you tried to install CakePHP right now, you’d get a headache, which is what I cried over for a while. Continuing in the trend of “not knowing Mac well enough”, it appears Mac OSX Mojave comes with PHP, but a slightly different configured version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |