MAMP-PRO-3-User-Guide.pdf

(6231 KB) Pobierz
MAMP PRO 3 - User Guide
!
!
!
March 2014 (c) appsolute GmbH!
1
I. What is MAMP PRO?!
II. Installation!
1. Installation requirements!
2. Installing and upgrading MAMP PRO!
3. Uninstall!
III. First Steps!
Main GUI Elements!
2. Meaning of Icons!
IV. Host and Server Settings!
1. General!
2. Hosts!
3. Modules (Apache)!
4. PHP!
5. MySQL!
6. Dynamic DNS!
7. Postfix!
V. Menu!
1. MAMP PRO!
2. File!
3. Log!
4. Tools!
VI. FAQ!
VII. Troubleshooting!
VIII. How-tos!
Activating Output Buffering!
Check the Default Storage Engine of MySQL!
Increase the PHP memory limit!
Set the MySQL Default Storage Engine!
Show the Postfix log file!
Using MySQL command line!
Connect to MySQL from PHP!
2
3!
3!
3!
3!
4!
4!
5!
6!
6!
6!
7!
17!
18!
19!
20!
22!
22!
22!
24!
25!
25!
25!
27!
28!
28!
29!
30!
31!
32!
33!
33!
I. What is MAMP PRO?!
!
!
!
MAMP PRO is a configuration application that helps you set up and run the Apache web
server and the MySQL database server. It also takes care of the configuration of different
versions of PHP. It is the big brother of the free MAMP application. Both applications need
the MAMP folder to run.!
Note: MAMP PRO stores its databases in a different location than MAMP the application.!
II. Installation!
!
1. Installation requirements!
!
To use MAMP PRO, your system must meet the following requirements:!
!
A working MAMP installation (MAMP can be downloaded directly with the MAMP PRO
installation package).!
Apple OS X, version 10.6 or later.!
A user account that is part of the Admin Group. Go to
Preferences > Users & Groups
to
confirm this.!
!
2. Installing and upgrading MAMP PRO!
!
Download MAMP PRO from
http://www.mamp.info.!
Double click on the MAMP.pkg file in your
Downloads
folder.!
The System Installer will guide you through the installation process.!
If the installer detects an existing MAMP folder it will rename the current MAMP folder to
MAMP_current_date.!
• Your existing “htdocs” folder will be moved to your new
/Applications/MAMP
folder.!
• Confirm that all data has been transferred correctly before starting MAMP PRO.!
• Your
/Applications/MAMP_current_date
folder can now be deleted. You may however
keep it, so you can fall back to your original setup.!
!
!
Note: You need administrator permissions to install MAMP PRO!!
3
3. Uninstall!
Use the MAMP PRO Uninstaller located in
/Applications/MAMP PRO
to remove MAMP
!
PRO.!
!
Drag the
/Applications/MAMP
folder to the Trash to complete uninstallation.!
!
III. First Steps
!
!
!
When the MAMP PRO application is launched for the first time helper tools will be
installed. You will be prompted to enter your password.
!
4
Click on the Start button in the title bar to launch Apache and MySQL. In the status display,
the launch status of the server is displayed. The web server uses port
8888
by default.
This port must be specified when calling the local web page in the browser, e.g.:
http://
localhost:8888!!
!
Your default host for MAMP PRO is localhost. The files for localhost are located in the
/
Applications/MAMP/htdocs
folder. See the
Hosts
section for more information on what a
host is and how to create additional hosts.!
!
1.
!
Main GUI Elements!
!
!
!
!
!
!
!
!
WebStart!
Open the MAMP PRO start page of your local web server. Additional information about the
MAMP PRO start page is in the ‘Hosts’ section.!
Start/Stop!
Starts or stops the Apache and MySQL services of the MAMP PRO server.!
Status!
The status display in the upper right corner shows the started services (Apache, MySQL
and Dyn. DNS).!
Revert!
Discards all changes, which have not already been confirmed with ‘Save’.!
Save!
Save your changed settings.

5
Zgłoś jeśli naruszono regulamin