Skip to content

Instantly share code, notes, and snippets.

View hsoulier's full-sized avatar
🌐
Help to create the future creative search engine @flim-team

hsoulier hsoulier

🌐
Help to create the future creative search engine @flim-team
View GitHub Profile
@codeadamca
codeadamca / mamp-php-versions.md
Last active May 8, 2024 22:54
How to add new PHP versions to MAMP on a Mac

Adding Versions of PHP to MAMP on a Mac

If you're working on a project that requires a version of PHP higher than the versions that MAMP comes with, you can easily add additional verions.

My version of MAMP came installed with PHP 7.4.21 and 8.0.8. I'm attempting to use MAMP to host a Laravel application which requires at least PHP 8.1.

The version of PHP MAMP uses is often different than the version you have installed. I have installed PHP using Brew. I'm currently running PHP 8.1.8. If you want to check your installed version of PHP, use the terminal and run the following command:

php --version