beradvisor.blogg.se

How to use mamp pro
How to use mamp pro













how to use mamp pro how to use mamp pro
  1. #HOW TO USE MAMP PRO INSTALL#
  2. #HOW TO USE MAMP PRO UPGRADE#

Once the Laravel installation is finished, Now it’s time to run the Laravel web application. This will start downloading the Laravel software and other required dependencies. Navigate to Applications/MAMP/htdocs folder in terminal & run the following command composer create -project laravel /laravel myProject "5.5.*"

#HOW TO USE MAMP PRO INSTALL#

  • In case it doesn’t output the correct path, try closing the terminal window (exit fully) and open again, it should apply the changes (Restart in short).Īlright, we are now all setup to install Laravel with MAMP.
  • If everything was successful, It should output the new path to MAMP PHP install
  • In Terminal, type in which php again and look for the updated string.
  • In Terminal, run source ~/.bash_profile.
  • (You can check the latest PHP version available in your MAMP directory (/Applications/MAMP/bin/php)

    how to use mamp pro

    Type i and then paste the following at the top of the file:Įxport PATH=/Applications/MAMP/bin/php/php7.2.8/bin:$PATH.Within the Terminal, run vim ~/.bash_profile.

    #HOW TO USE MAMP PRO UPGRADE#

    But if not then you either have to upgrade your php version on local mac, Or we can switch local PHP to use our MAMP php version which is greater than 7.1.3 If the version returned by this command is >=7.1.3, then you are good to go. 5.7 requires PHP >=7.1.3, Although the latest MAMP will have the latest PHP, it might be the case that the PHP installed local to your MAC machine is old.Ĭheck by running the following command on terminal. Test it out by command composer -v on terminal. That’s it, you now have composer on your MAC. Move the composer to /usr/local/bin/composer mv composer.phar /usr/local/bin/composer If not follow below steps.ĭownload composer installer by this command in terminal curl -sS | php Open your terminal and type out command composer -v, If this gives your the composer version that means you have composer already installed on your machine.















    How to use mamp pro