Adding New Versions of PHP to MAMP

preview_player
Показать описание
In this video we add a new version of PHP to MAMP.

At the tie of this video MAMP comes installed with 7.4.21 and 8.0.8. I needed to install PHP 8.1.8. This is possible by using the files from the version of PHP installed on your computer.

This tutorial uses a Mac, but a similar logic may work for a PC.

---

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

Nice video. Also nice to know the free version of MAMP only display the last version from php 7 and 8. I downloaded the Pro version of Mamp using the free trial which by default includes a lot of php versions but the free version only let you choose between two. So all that I had to do was delete o rename the last version of php (as I needed the 8.1 not the 8.2) and it works perfectly. So thank you very much.

RodrigoSotoCastro
Автор

Many thanks! Running OSX Ventura 13 on a M1 Mac I found the directories to be /opt/homebrew/cellar/php/ 
and for the module:

HenrikStrindberg
Автор

First time in my life i logged in only to give you a thumbs up:)

Kaan_Solo
Автор

I was looking for this solution everywere. This is the first that works!!! Thanks, yore greate!!!!

fegarcia
Автор

Nice & straight to the point, thanks

AjanTurkey
Автор

thank you!!! it solved my problem i worked for a week!

周瑄嫀
Автор

To find your directory php-config --extension-dir, I you might have to dig a bit in the files

sandaledemarche
Автор

In MAMP, uder the PHP section there is a little "+" symbol nect to the dropdown for the default PHP version. Click that and add the PHP version yu want to use.

jmcbade
Автор

Hello, I'm using the PHP version 8.1.9. I followed all your steps but I always end up to have the same error: "Apache couldn't be started. Please check your MAMP installation and configuration. "!!...Do you know why? Can you help me please?..thanks a lot.

fabiobasile
Автор

Thank you for the video but you did not specify that it must be MAMP 6
Maybe it's my limitation, the procedure is not applicable to MAMP 5 :(

AndreaRiezzo
Автор

After updating php in mamp I have now problem with phpmyadmin no working, I check the file config.inc.php was correct. Please help . Thank you

Yonas
Автор

how can i do these steps on windows using the mamp windows version

SakuraHougetsu
Автор

Will this process work for an m1? Also, should I uninstall the previous version of php before install 8.1 with brew?

HologramJay
Автор

Hi Adam, in my case, php version is 8.1.11
In folder : instead of libphp.so
When I start server, it gives error 'Apache couldn't be started. Please check your MAMP installation and configuration.'.
Please guide me in this case how to start server with php 8.1.11.
Thank you!

linhang
Автор

Thanks a lot man for sharing this... you've got a sub. But it generated a phpmyadmin issue, Any idea to fix it... thanks

realEsDev
Автор

There is nothing in my user local cellar, where did you find the installed 8.1.8 ? Sorry but your video is totally useless if you don’t say where to get the current 8.1.9 version

cirke