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

preview_player
Показать описание
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.

Рекомендации по теме
Комментарии
Автор

I followed your steps, but in my php versions dropdown doesn’t appear the option i recently add. You know why ?

daanielaGtzS
Автор

show it will work!!! I get apache error

tiger_flexmovies