Download Mamp for Mac 10.6.8 Updated

Download Mamp for Mac 10.6.8

This tutorial will walk you lot through choosing and downloading the appropriate edition of MAMP, downloading and installing the packet, starting its components, and integrating them with the PhpStorm IDE.

Every bit an alternative, you can utilize the XAMPP cross-platofrm package bachelor, which has a similar ready of features. Delight refer to the Installing and Configuring XAMPP tutorial for more data.

MAMP is the macOS bundle comprising Apache HTTP server, MySQL database, PHP interpreter, and some libraries. The discussion "MAMP" is an acronym, where "M" stands for "Macintosh", meaning information technology'southward designed for macOS, and the other letters stand for the bundle components.

MacOS comes with the pre-installed PHP interpreter and Apache server, which tin can exist configured to work well together following the tutorial published past php.net. PhpStorm-related configuration is similar to the ane described in this tutorial. Since installing additional packages and configuring the system environment on your ain can be tricky, this guide describes how to get everything set upwards at once easily in a separate environment with consummate MAMP package.

MAMP is a reliable and fast way to fix upwardly an environment for PHP programming. It provides all the components required for developing, running, debugging, and unit of measurement testing of PHP applications. MAMP is a good alternative to installing and configuring a Spider web server, a PHP engine, a database server, and a debug engine separately. To showtime developing, yous volition only demand to download and install MAMP, and start the components using the MAMP command panel.

Prerequisites

Before starting, the post-obit tools should be available on your arrangement:

Choosing the correct MAMP edition

From the MAMP web site, we can download and install the MAMP edition which matches the macOS version. The following versions are bachelor:

  1. MAMP & MAMP PRO 4.* (Latest version is four.2) is suitable for Mac OS X 10.10+ (beta releases are non supported).
  2. MAMP & MAMP PRO 3.* (Latest version is 3.5.2) is suitable for Mac Bone X 10.half dozen.eight+ (PHP 7 needs Mac OS X 10.eight+).

Information technology's also possible to download additional PHP versions for MAMP PRO.

MAMP is free software distributed under GNU license. MAMP PRO is a paid version which includes additional features. MAMP can exist used stand-lone without MAMP PRO.

MAMP

In this tutorial, we will use theMAMP 4.2 version. The process is the aforementioned for theMAMP three.*version.

Downloading the MAMP installer

From the MAMP downloads page, we tin detect a listing of components included in the package. Click the Download link to download the latest stable bundle version.

We will exist using the pkg version. There is also source code available in zip archive and svn repository.

In one case the download of the parcel is completed, nosotros tin can run information technology.

Installing the MAMP package

Once the MAMP archive is downloaded, unpack it and run the installer (MAMP_MAMP_PRO_4.2 in our case).

The MAMP installation magician is pretty straightforward. Click the Continue button to go along through the installation steps.

After the installation is compete, click the Close button.

MAMP Command Panel

After installation, we can use the MAMP Control Panel to perform such actions as starting / stopping servers and irresolute configurations. The MAMP Control Console application can exist plant in the Applications/MAMP binder.

Starting and stopping servers

To start the Apache and MySQL servers, click the Showtime Servers button.

The icons in the top-right corner will go green-colored. Once the servers are started, you can cease the at any time past clicking the Cease Servers button.

The Offset Page will open (http://localhost:8888/MAMP/ by default) in the browser. This page contains the information well-nigh your surroundings and provides useful links.

You lot tin configure MAMP by clicking the Preferences... button.

There are several options available:

  • Starting time/Finish Servers configuration on the First/Finish tab.
  • Set the Apache and MySQL ports on the Ports tab.
  • Specify the PHP version and caching options on the PHP tab.
  • Fix the web server certificate root on the Web Server tab.

Integrating MAMP with the IDE

Having installed MAMP and launched its components, we now need to tell our IDE where these components are stored and how they are configured.

Integrating the PHP executable

Let's start by registering the PHP executable from MAMP in PhpStorm. Open up the PhpStormPreferences dialog by pressingCmd+or choosingPhpStorm | Preferences on the menu. Navigate toLanguages & Frameworks | PHP.

With IntelliJ IDEA and PhpStorm, we can have several divide PHP interpreters registered in the IDE, depending on the PHP version and/or PHP configuration needed for the projection. All currently registered installations of PHP interpreters are displayed in the CLI Interpreter driblet-down list:

To add the interpreter installed with MAMP, click the Browse push (…) on the right of the list. The CLI Interpreters dialog box opens.

  1. In the left-mitt pane, click the Add together (+) push on the toolbar.

  2. In the Name text box, type the name to identify the current installation, for example PHP from XAMPP.
  3. In the PHP Dwelling house text box, specify the folder where the PHP executable file php is stored. We tin enter the path manually or employ the Browse push to find the path on our organisation.
  4. The IDE checks whether the specified binder contains a PHP executable file, detects the PHP version, and displays it in the PHP Info read-just field. Starting with PhpStorm v7.0, the IDE also validates that the debugger is configured correctly.

We can now save these settings and select the newly added PHP interpreter for our project:

Our IntelliJ Thought or PhpStorm IDE will at present brand apply of the PHP installation that was bundled with MAMP.

Integrating the debugger

PhpStorm offers a powerful debugger in which breakpoints tin can be gear up and variables can be inspected at runtime. For more information on using PhpStorm's debugger, have a look at whatever of the post-obit articles:

Integrating the Apache server

Interaction between IntelliJ IDEA or PhpStorm with Web, FTP, and other servers is supported through the Remote Hosts Admission plugin, which is enabled by default for IntelliJ IDEA and PhpStorm. The IDE accesses servers using connection settings specified in the registered server access configurations. These configurations are created and managed in the Projection Settings | Deployment folio of the Settings dialog box.

Choose File | Settings on the primary bill of fare again to open the Settings. Click Deployment under the Project Settings node to go to the Deployment folio.

From the toolbar, click the Add button to add a new server. From the Add Server dialog, nosotros can specify a name for our MAMP server and select the deployment type. For MAMP Apache server, select the Local or mounted folder type.

After clicking OK, we tin can specify the folder to Apache's web root (/Applications/MAMP/htdocs) and the URL to the spider web server, http://localhost:8888 . Annotation that these settings may be different depending on how y'all have configured the MAMP Apache server in the MAMP configuration or Apache configuration files.

Using the Open up button, we can verify that settings are OK. Once done, we should see the MAMP htdocs folder.

Integrating the MySQL server

IntelliJ Idea and PhpStorm permit u.s.a. to connect to the MAMP MySQL database server using the Database plugin (installed and enabled by default). First of all, make certain the MySQL server is running from the MAMP Control Console. When using MAMP PRO, too brand sure that the "Allow local access only" setting is disabled from the MAMP PRO Command Panel.

Next, from the right-hand side of our IDE, nosotros can open up the database tool window.

Opening the database pane, we tin can create a new connexion or Data Source by using the context menu. We'll accept to specify the JDBC database driver to be used to connect to our database. For MySQL, we can use the MySQL Connector driver available in the list of drivers. PhpStorm doesn't send these drivers but a simple click (on Click here) fetches the correct JDBC driver from the Internet.

Next, we'll accept to enter our connectedness details. As the JDBC commuter class, select the com.mysql.jdbc.Driver commuter. The Database URL should be a connection string to our MySQL Database, for case jdbc:mysql://localhost:8889/ or jdbc:mysql://localhost:8889/foodb to connect to the foodb database. Nosotros can also specify the username and password for MySQL, root for both username and password by default in MAMP.

When using UTF-eight or unicode characters in the username, password or database name, two additional parameters must exist added to the connexion string: characterEncoding and useUnicode. An example connexion string would be jdbc:mysql://localhost:8889?characterEncoding=utf8&useUnicode=true. It may also be required to select a different JDBC driver from the listing, com.mysql.jdbc.NonRegisteringDriver.

Using the Test Connection button, we can verify the settings and brand certain PhpStorm can connect to MySQL.

We can now create tables, run queries, update data and and so on. Meet this weblog mail for more data.

Download Mamp for Mac 10.6.8

Posted by: abercrombiesencong.blogspot.com

Post a Comment

0 Comments