I left MAMP for this reason a couple of years ago, switch to MacPorts or Homebrew and you will be happy ...
For differences between the two:
Macports
- Pro : there is a lot of software, you will find everything you need.
- Con : it is slower because it downloads and compiles any piece of software. It does not use your system libraries, so you need more disk space. On the other hand, it could be pro, because you will never find a problem with the library (lib x require lib y version z)
Homebrew
- Pro : simpler and faster, and if you know ruby, you can write your own recipe to add missing software. No access to sudo required.
- Con : you may run into problems related to library versions and dependencies. MacPorts has more software than homegrown.
Fabio source share