Mamp Osx



Nov 17, 2017 I wasn’t pleased with the results / solutions I’ve found on the net so far, because the php.ini configs weren’t loaded properly in all cases and on all systems, espacially when you need modules like ioncube and others (it’s even more confusing on MAMP Pro).

  1. Download MAMP & MAMP PRO MAMP & MAMP PRO 6.3 macOS 10.12+ & 64-Bit processor (Intel) Users of version 5 get more than 50% discount. MAMP & MAMP PRO 4.2.0 Windows 7, 8.1, 10.
  2. How to remove MAMP with its provided uninstaller. When you install the OS X MAMP application, it automatically installs MAMP Uninstaller. Below, we will show you how to uninstall MAMP with its uninstaller and then find and remove its remaining files from your Mac.

MAMP is a free distribution package that makes it easy to install Apache Web Server, PHP, and MySQL on a Mac.

Installing MAMP on a Mac

  1. Open the downloaded file (e.g., MAMP_MAMP_PRO_4.5.pkg) and click through the installation wizard.
  2. Close the installation wizard.

Running MAMP on OSX

Dana 30 truss xlasopafilter. To run MAMP..

  1. Navigate to Applications/MAMP in Finder and open MAMP.app
  2. Click Start Servers:
  3. The following page should open in your browser:

Class Files

  1. After downloading the class files, create a folder in htdocs named 'Webucator' and extract your class files in that folder.
  2. To test that your setup so far is correct, open your browser and navigate to http://localhost:8888/Webucator/ClassFiles/. You should get a listing like this:
  3. Click PHPBasics, then click Demos, and then HelloWorld.php. You should get a page that looks like this:

Setting the MySQL Password

The PHP files use 'pwdpwd' for the MySQL root password, while the default password used in MAMP is 'root'. In your browser, navigate to http://localhost:8888/phpmyadmin/.

Note: It is important to do these steps in the order specified.

Mamp Os X

  1. Click the mysql database on the left.
  2. Click the SQL tab at the top.
  3. Enter the following in the textbox under Run SQL query/queries on database mysql:
  4. Click Go.
  5. You also need to update the password in /Applications/MAMP/bin/phpMyAdmin/config.inc.php. Open the file in your editor (e.g., Visual Studio Code) and change the password setting as show below to 'pwdpwd'.

Installing Northwind Database using MAMP

We use the Northwind database in this class.

  1. To install the Northwind database used in class, open your browser and navigate to http://localhost:8888/phpmyadmin.
  2. If it asks you to login, the username is 'root' and the password is 'pwdpwd'.
  3. On that page, click on the Import link under the Localhost heading. After, it should say 'Importing into the current server'.
  4. Browse to the Northwind-MySQL.sql file in your class files (/Applications/MAMP/htdocs/Webucator/ClassFiles/Northwind-MySQL.sql).
  5. Click the Go button on the bottom left of the page.
  6. You should get a Success message and Northwind should be added to your list of Databases.

One Final Test

Point your browser to http://localhost:8888/Webucator/ClassFiles/ManagingData/Demos/EmployeeReport.php. If you see a page like this, you're all set:

Mamp

And that's it

Mamp os xMamp osx php version

Happy Mac MAMPing!

Recommended Code Editor

Visual Studio Code (Download, Install, and Set up VS Code)

Mamp Osx Root

While you may use a different editor or IDE, Visual Studio Code is an excellent IDE to learn to code on. It provides a nice balance of power and simplicity and it is available on Windows and Mac.