killoforward.blogg.se

Where is the php runtime in mamp for windows
Where is the php runtime in mamp for windows















When you head to /Applications/MAMP/bin/php you will find all the installed versions of php that you could use.įrom the above image you can see that I can choose to work with php5.4.45 or php5.6.40 or php7.0.33 or php7.1.26 or 7.2.14 or php7.3.1, depending on my needs, however, MAMP is only letting choose between the latest two, php7.3.1 and php7.2.14 which is quite annoying. By default it will let you choose from only the latest two versions of PHP. One limitation so far is MAMP does not let you to choose any version of PHP you wish to work with even when it comes packaged with several of them. On MAMP preferences popup, head to the php tab and there select the version of PHP you wish to use.

where is the php runtime in mamp for windows

  • Head to MAMP preferences using the Shortcut CMD +, or by clicking on MAMP in the menu bar and selecting preferences from the dropdown menu.
  • MAMP 5.3 lates you change the version of PHP you wish to work with by simply selecting it in the MAMP preferences. Much as it sounds like an easy fix, it isn't something you would want to get into.

    #Where is the php runtime in mamp for windows install#

    Install another local server for instance XAMPP and configure it to use PHP 5 for the new project.

    where is the php runtime in mamp for windows

    Continue with MAMP for my ongoing projects since its already configured for that version of php.Here I am faced with a scenario where I have to use both php 5 for the new project and php 7 for my already running projects.Ī quick solution would be to use separate local servers, each running a given version of PHP, which would mean: The latest stable version of php is currently 7.3, which I am now accustomed to and have my local MAMP installation set up with. So I recently joined a team working on an old project that was still running on php 5.6.















    Where is the php runtime in mamp for windows