I originally got the majority of these directions from the following thread. If everything has worked correctly, you should now be able to fire up symfony from the command line. Sudo ln -s /Applications/MAMP/bin/php5/bin/symfony /usr/bin/symfony
The following two commands will use PEAR to download and install symfony. Sudo ln -s /Applications/MAMP/bin/php5/bin/pear /usr/bin/pear If you don’t have PEAR, this will obviously error out which you can ignore. If you have PEAR already installed, we are going to move it as well. Sudo ln -s /Applications/MAMP/bin/php5/bin/php /usr/bin/php Link the MAMP php into where leopard’s php used to be… Now we are going to move leopard’s php to a safe place… Save the file and close your text editor. It should live here:Ĭhange the memory limit to 32M by editing the memory_limit part of the file to the following: Open the php.ini text file in a text editor. Mount the MAMP dmg and drag the folder directly into your applications directory. If you do not have it, go ahead and download MAMP. Let’s browse to the MAMP website and get ourselves the latest copy of the software. Now, I already had MAMP installed from my previous project of installing wp using MAMP in OS X. If you’re a Mac user, you’ve probably gone through the process of installing new software in OS X, and MAMP is not too different. Here are the steps I used to get Symfony up and running in MAMP. Just as I was getting skilled in plain ole php, he is now dragging me (correctly) into the world of Symfony. MightyQ is becoming a jedi Symfony master. By using MAMP and these directions, you will be up and running in no time.
If you have used MAMP PRO as well, use the MAMP PRO uninstaller to remove it.Installing the open source php framework Symfony into an OS X box can be a challenge. If you have installed MAMP Cloud Functions you need to additionally remove your “/Library/Application Support/appsolute/MAMP” directory. To uninstall MAMP, you only have to delete the MAMP directory and everything returns to the original state (MAMP does not alter anything on the normal macOS).
Press Upgrade to upgrade your database data.
Once the download has completed, go to your Downloads folder and double-click on the package file to start the installation. Next, click on the Apple logo to start the download. When you first start your servers in MAMP you will be asked to upgrade your database data. To install MAMP on your Mac go to: and click on the Free download button. You may however keep it, so you can fall back to your original setup. Your “/Applications/MAMP_current_date” folder can now be deleted. It is recommended that you upgrade your database data to MySQL 5.7 when you start your servers in MAMP.Ĭonfirm that all data has been transferred correctly before starting MAMP.
Your database data is located in “/Applications/MAMP/db” You should backup your database data before upgrading from MAMP 4 to MAMP 5. You can ignore this application if you choose not use MAMP PRO. When installing MAMP, an “/Applications/MAMP PRO” application will be installed in addition to your “/Applications/MAMP” folder. Note: You need administrator permissions to install MAMP!