Search code examples
phpmysqlmamp

Installing MAMP on a computer that has MySql installed and a PHP setup on the localhost?


I have a macbook running macOS High Sierra(version 10.13.2) on which I would like to install MAMP. On this machine I already have installed MySql(version 5.7.19 homebrew) using brew and set up a php(version 7.1.7) web development environment on the local host. If I install MAMP now would this affect the current MySql I have on the computer now and would it affect the php environment setup on the local host in anyway? Also, would this cause any complications with the MAMP installation?

I just want a clean install that is not gonna cause any problems to my current setup and also to the new setup.


Solution

  • If I install MAMP now would this affect the current MySql I have on the computer now and would it affect the php environment setup on the local host in anyway?

    No

    MAMP is designed to wrap all the "web application stack" (Apache, php, mySql, etc...) into the application package. So installing MAMP you won't touch what's already installed via brew.

    Of course you cannot run simultaneously MAMP's mySql+Apache and brew-installed mySql+(web server of your choice) (unless -of course- you setup a proper custom configuration).