![]() It allows you to create web applications with Apache2, PHP and a MySQL database. This will create a subfolder in the folder you’re in. WampServer is a Windows web development environment. Note, change my_app_name to you project’s name. Run the following:Ĭomposer create-project -prefer-dist cakephp/app my_app_name Head to the folder where you’d like to setup your project, I use username/git. Now we can install CakePHP into our project, following Mv composer.phar /usr/local/bin/composer Install CakePHP, for real I find I have to do that a lot, I suspect I’m missing something on my Mac.Īfter you run the above, CakePHP points out there is one more command to run: When I ran it, I had to add sudo to the start of each line. 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. But you are using a browser which doesnt support SVG and so you get the boring looking page. No extras No nonsense Download Emacs Version 29.1-1 Universal Binary (95.770 MB) Released Usually theres a nifty page here with a big download button. If you tried to install CakePHP right now, you’d get a headache, which is what I cried over for a while. GNU Emacs For Mac OS X Pure builds of Emacs for Mac OS X. 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 |