Changes between Version 73 and Version 74 of howto/MAMP


Ignore:
Timestamp:
Nov 10, 2014, 5:33:13 PM (10 years ago)
Author:
nerdling (Jeremy Lavergne)
Comment:

remove skewed outlining

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v73 v74  
    33[wiki:howto <- Back to the HOWTO section]
    44
    5 = Getting Apache, MySQL, and PHP Running under MacPorts =
    6 
    7  * Audience: Users who don’t like the default OS X installation
    8  * Requires: MacPorts
    9 
    10 == Introduction ==
    11 
    12 These instructions are written for the following versions:
     5These installation instructions are written for the following versions:
    136
    147 * Apache 2.2.*
     
    169 * PHP 5.4.*
    1710
    18 == Installation ==
    19 
    20 === Step 1: '''Turn off Apple's "Personal Web Sharing"''' === #pws
     11= Step 1: '''Turn off Apple's "Personal Web Sharing"''' = #pws
    2112
    2213If you haven’t already done so, make sure you turn off Apple’s "Personal Web Sharing" in the System Preferences so that the default Apache server is not running. While you can set things up so that both servers run on different ports (e.g., port 80 and port 8080), it’s not worth the hassle of maintaining two web server daemons. Just use the latest Apache from MacPorts and be done with it.
     
    2718}}}
    2819
    29 === Step 2: Install Apache === #apache
     20= Step 2: Install Apache = #apache
    3021
    3122{{{
     
    5950
    6051
    61 ==== User directories ==== #userdir
     52== User directories == #userdir
    6253
    6354If you would like to be able to access web pages in the Sites directory of your home directory, edit `/opt/local/apache2/conf/httpd.conf` and locate the following line:
     
    109100to start it again.
    110101
    111 ==== Local Apache manual ==== #manual
     102== Local Apache manual == #manual
    112103
    113104The [http://httpd.apache.org/docs/2.2/ Apache manual] is available on the Apache web site. If you would like to be able to access a copy of this manual on your web server, edit `/opt/local/apache2/conf/httpd.conf` and uncomment the following line:
     
    125116Restart Apache using `sudo /opt/local/apache2/bin/apachectl -k restart` to make this change take effect. You can then view the manual by accessing http://localhost/manual/.
    126117
    127 ==== Secure Sockets (https) ==== #ssl
     118== Secure Sockets (https) == #ssl
    128119
    129120This works for a development system (not recommended for production!).
     
    155146
    156147
    157 === Step 3: Install MySQL === #mysql
     148= Step 3: Install MySQL = #mysql
    158149
    159150If you merely want to access a MySQL server running on another computer, skip to step 4. If you want to run a MySQL server on this computer, install MySQL like this:
     
    236227
    237228
    238 ==== Optional database upgrade ==== #mysql_upgrade
     229== Optional database upgrade == #mysql_upgrade
    239230
    240231If the database exists from a previous installation, you may need to upgrade.
     
    249240
    250241
    251 ==== Optional security configuration ==== #mysql_security
     242== Optional security configuration == #mysql_security
    252243
    253244There is an interactive program to secure a MySQL installation.
     
    285276
    286277
    287 === Step 4: Install PHP === #php
     278= Step 4: Install PHP = #php
    288279
    289280{{{
     
    404395As a last check, reboot and verify that everything has autostarted and is running (i.e., repeat the above tests).
    405396
    406 === Step 5: Install phpMyAdmin (optional) === #phpmyadmin
     397= Step 5: Install phpMyAdmin (optional) = #phpmyadmin
    407398
    408399Use MacPorts to install the latest version of `phpMyAdmin`.
     
    466457
    467458
    468 ==== Optional pmadb ==== #phpMyAdmin_pmadb
     459== Optional pmadb == #phpMyAdmin_pmadb
    469460
    470461For additional features provided by pmadb (http://wiki.phpmyadmin.net/pma/pmadb), run