10.6.8 Mac Intellij Idea Download Updated
10.6.8 Mac Intellij Idea Download
MAMP is the macOS parcel comprising Apache HTTP server, MySQL database, PHP interpreter, and some libraries. The discussion "MAMP" is an acronym, where "M" stands for "Macintosh", meaning it'south designed for macOS, and the other letters represent the package components.
MacOS comes with the pre-installed PHP interpreter and Apache server, which can be configured to piece of work well together following the tutorial published by php.net. PhpStorm-related configuration is like to the one described in this tutorial. Since installing boosted packages and configuring the system environs on your own can be tricky, this guide describes how to get everything set upward at in one case easily in a separate surroundings with complete MAMP bundle.
MAMP is a reliable and fast way to set upwardly an environment for PHP programming. It provides all the components required for developing, running, debugging, and unit testing of PHP applications. MAMP is a good alternative to installing and configuring a Web server, a PHP engine, a database server, and a debug engine separately. To start developing, you will simply need to download and install MAMP, and starting time the components using the MAMP control panel.
Prerequisites
Earlier starting, the post-obit tools should exist available on your arrangement:
- Either PhpStorm or IntelliJ IDEA Ultimate Edition
- When working with IntelliJ Idea:
- The Remote Hosts Access plugin should exist enabled (installed and enabled by default with IntelliJ IDEA and PhpStorm)
- The PHP plugin should exist installed and enabled (installed and enabled past default with PhpStorm)
Choosing the right MAMP edition
From the MAMP web site, we can download and install the MAMP edition which matches the macOS version. The post-obit versions are available:
- MAMP & MAMP PRO 4.* (Latest version is 4.ii) is suitable for Mac Os X 10.10+ (beta releases are not supported).
- MAMP & MAMP PRO three.* (Latest version is 3.5.ii) is suitable for Mac Bone Ten x.half dozen.eight+ (PHP seven needs Mac Os X ten.viii+).
Information technology's as well possible to download boosted PHP versions for MAMP PRO.
MAMP is free software distributed nether GNU license. MAMP PRO is a paid version which includes boosted features. MAMP can exist used stand-alone without MAMP PRO.
MAMP
In this tutorial, we will use theMAMP 4.2 version. The process is the same for theMAMP 3.*version.
Downloading the MAMP installer
From the MAMP downloads folio, we tin find a list of components included in the package. Click the Download link to download the latest stable package version.
We volition exist using the pkg version. There is also source code available in goose egg archive and svn repository.
One time the download of the package is completed, we 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 wizard is pretty straightforward. Click the Continue button to proceed through the installation steps.
After the installation is compete, click the Close push button.
MAMP Control Panel
Afterward installation, we can use the MAMP Control Panel to perform such actions as starting / stopping servers and changing configurations. The MAMP Control Panel application tin be found in the Applications/MAMP folder.
Starting and stopping servers
To start the Apache and MySQL servers, click the Start Servers button.
The icons in the top-correct corner will become dark-green-colored. One time the servers are started, you can stop the at any time past clicking the Stop Servers push button.
The Offset Folio will open (http://localhost:8888/MAMP/ by default) in the browser. This page contains the information about your environment and provides useful links.
You lot can configure MAMP by clicking the Preferences... push.
There are several options bachelor:
- Start/Stop Servers configuration on the Starting time/Cease tab.
- Ready the Apache and MySQL ports on the Ports tab.
- Specify the PHP version and caching options on the PHP tab.
- Set the spider web server document 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
Allow'south beginning by registering the PHP executable from MAMP in PhpStorm. Open the PhpStormPreferences dialog by pressingCmd+or choosingPhpStorm | Preferences on the menu. Navigate toLanguages & Frameworks | PHP.
With IntelliJ Idea and PhpStorm, we can take several divide PHP interpreters registered in the IDE, depending on the PHP version and/or PHP configuration needed for the project. All currently registered installations of PHP interpreters are displayed in the CLI Interpreter drop-down listing:
To add together the interpreter installed with MAMP, click the Browse push button (…) on the right of the listing. The CLI Interpreters dialog box opens.
-
In the left-paw pane, click the Add together (+) button on the toolbar.
- In the Proper noun text box, blazon the name to place the current installation, for example PHP from XAMPP.
- In the PHP Habitation text box, specify the folder where the PHP executable file php is stored. We tin enter the path manually or use the Browse button to notice the path on our system.
- The IDE checks whether the specified folder contains a PHP executable file, detects the PHP version, and displays information technology in the PHP Info read-simply field. Starting with PhpStorm v7.0, the IDE also validates that the debugger is configured correctly.
We can now salve these settings and select the newly added PHP interpreter for our project:
Our IntelliJ IDEA or PhpStorm IDE will at present make utilize of the PHP installation that was bundled with MAMP.
Integrating the debugger
PhpStorm offers a powerful debugger in which breakpoints can be set and variables can be inspected at runtime. For more than data on using PhpStorm'south debugger, have a wait at whatsoever of the post-obit manufactures:
- Zero-configuration Web Application Debugging with Xdebug and PhpStorm
- Xdebug Installation Guide
-
Zend Debugger Installation Guide
In one case you have installed and configured the debugger, you can validate your debugging configuration by using the tutorial.
Integrating the Apache server
Interaction between IntelliJ IDEA or PhpStorm with Web, FTP, and other servers is supported through the Remote Hosts Access plugin, which is enabled past default for IntelliJ IDEA and PhpStorm. The IDE accesses servers using connectedness settings specified in the registered server admission configurations. These configurations are created and managed in the Project Settings | Deployment page of the Settings dialog box.
Choose File | Settings on the principal menu again to open the Settings. Click Deployment nether the Projection Settings node to go to the Deployment folio.
From the toolbar, click the Add push to add a new server. From the Add together Server dialog, we 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 can specify the folder to Apache's spider web root (/Applications/MAMP/htdocs) and the URL to the web server, http://localhost:8888 . Note that these settings may be different depending on how you have configured the MAMP Apache server in the MAMP configuration or Apache configuration files.
Using the Open push, we can verify that settings are OK. One time done, we should encounter the MAMP htdocs binder.
Integrating the MySQL server
IntelliJ IDEA and PhpStorm let us to connect to the MAMP MySQL database server using the Database plugin (installed and enabled by default). Outset of all, make sure the MySQL server is running from the MAMP Control Panel. When using MAMP PRO, too make sure that the "Allow local admission only" setting is disabled from the MAMP PRO Control Panel.
Next, from the right-hand side of our IDE, we tin can open the database tool window.
Opening the database pane, nosotros can create a new connection or Data Source past using the context bill of fare. We'll have to specify the JDBC database driver to exist used to connect to our database. For MySQL, we can employ the MySQL Connector commuter available in the listing of drivers. PhpStorm doesn't ship these drivers but a simple click (on Click here) fetches the correct JDBC commuter from the Cyberspace.
Next, we'll have to enter our connection details. As the JDBC driver class, select the com.mysql.jdbc.Driver commuter. The Database URL should be a connexion cord to our MySQL Database, for example jdbc:mysql://localhost:8889/ or jdbc:mysql://localhost:8889/foodb to connect to the foodb database. Nosotros can as well specify the username and countersign for MySQL, root for both username and password by default in MAMP.
When using UTF-8 or unicode characters in the username, password or database name, 2 additional parameters must be added to the connectedness string: characterEncoding and useUnicode. An example connexion string would be jdbc:mysql://localhost:8889?characterEncoding=utf8&useUnicode=truthful. It may also be required to select a different JDBC driver from the list, com.mysql.jdbc.NonRegisteringDriver.
Using the Test Connexion push, we can verify the settings and brand sure PhpStorm can connect to MySQL.
We can now create tables, run queries, update data and then on. Meet this blog post for more information.
10.6.8 Mac Intellij Idea Download
Posted by: alvarezupooks1966.blogspot.com