Search
 
SCRIPT & CODE EXAMPLE
 

PHP

mamp change php version

As mentioned by @Scott in the comments under your question:

Your here is the right link. Use the bottom answer to rename the bin/php directory. The MAMP preference pane will show the 2 latest versions in the php directory. – Scott Eisenberg

And the answer in that links is:

First stop the Server if its running. Go to "/Applications/MAMP/bin/", rename the PHP Version you don't need (MAMP is only allowed to use 2 PHP Versions), e.g. "_php5.2.17". Now MAMP will use the php versions that are left. Go to the MAMP Manager and then settings, then switch to the php version you need.

In my case (and similarly yours), I renamed the folder named php7.1.1 to _php7.1.1 and now MAMP shows me 5.6.30 and 7.0.15 in the preferences pane.
Comment

PREVIOUS NEXT
Code Example
Php :: get pivot id laravel 
Php :: php get current datetime in us chicago 
Php :: PHPExcel not supporting long integer value 
Php :: array_key_first not works 
Php :: php define associative array 
Php :: multible many routes same controller 
Php :: envoyer mail php depuis localhost 
Php :: $query-free_result(); 
Php :: PHP soundex — Calculate the soundex key of a string 
Php :: Collapse all codes in PHP Storm IntelliJ 
Php :: How to add watermark in FPDF PHP - Parte 2 
Php :: php generate html attributes from array 
Php :: how to pass variable to an event listener laravel 
Php :: post_export signals 
Php :: detect change in log file in real time php 
Php :: artisan call composer dump in controller 
Php :: Undefined array key after unset() 
Php :: wordpress function _() not working 
Php :: Remove auto generate p from category description 
Php :: Drupal 9 check if UUD is valid 
Php :: codeigniter sanitize array in php 
Php :: Laravel image validation just reloads page and does nothing 
Php :: Modal Edit Specific/Same table row, where button is 
Php :: $var = 1 / 2; in php 
Php :: install php56-php-ldap on ubuntu 20.04 
Php :: Get authors who has posts in category - WordPress 
Php :: Program to Multiply Two Numbers in php 
Php :: findmany laravel 
Php :: laravel check if pagination is empty 
Php :: describe request php-salesforce-rest-api 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =