How to add another php version to your MAMP installation on Mac OS

Опубликовано: 04 Ноябрь 2022
на канале: HowTo
7k
27

This video will show you how to add another php version to your MAMP installation on MAC os.
Steps:
1. copy folder from /usr/local/Cellar/php which in my case was 8.1.11 to /Applications/MAMP/bin/php
2. Rename the folder from 8.1.11 to php8.1.11 after pasting it (change the version name according your version).
3. Copy module folder from /usr/local/lib/httpd to /Applications/MAMP/bin/php/php8.1.11 (again according to your php version the folder name may be different)
4. Restart MAMP.

Thumbnail Image by rawpixel.com on Freepik