[MacPorts] howto/MAMP modified
MacPorts
noreply at macports.org
Mon Nov 10 09:33:15 PST 2014
Page "howto/MAMP" was changed by snc at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=74>
Revision 74
Comment: remove skewed outlining
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 73)
+++ howto/MAMP (version: 74)
@@ -2,22 +2,13 @@
[wiki:howto <- Back to the HOWTO section]
-= Getting Apache, MySQL, and PHP Running under MacPorts =
-
- * Audience: Users who don’t like the default OS X installation
- * Requires: MacPorts
-
-== Introduction ==
-
-These instructions are written for the following versions:
+These installation instructions are written for the following versions:
* Apache 2.2.*
* MySQL 5.1.*
* PHP 5.4.*
-== Installation ==
-
-=== Step 1: '''Turn off Apple's "Personal Web Sharing"''' === #pws
+= Step 1: '''Turn off Apple's "Personal Web Sharing"''' = #pws
If 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.
@@ -26,7 +17,7 @@
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
}}}
-=== Step 2: Install Apache === #apache
+= Step 2: Install Apache = #apache
{{{
sudo port install apache2
@@ -58,7 +49,7 @@
If desired, reboot your machine and point your browser again to http://localhost/ to confirm that Apache is again running.
-==== User directories ==== #userdir
+== User directories == #userdir
If 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:
@@ -108,7 +99,7 @@
to start it again.
-==== Local Apache manual ==== #manual
+== Local Apache manual == #manual
The [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:
@@ -124,7 +115,7 @@
Restart 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/.
-==== Secure Sockets (https) ==== #ssl
+== Secure Sockets (https) == #ssl
This works for a development system (not recommended for production!).
@@ -154,7 +145,7 @@
-=== Step 3: Install MySQL === #mysql
+= Step 3: Install MySQL = #mysql
If 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:
{{{
@@ -235,7 +226,7 @@
again to verify that the daemon is again running.
-==== Optional database upgrade ==== #mysql_upgrade
+== Optional database upgrade == #mysql_upgrade
If the database exists from a previous installation, you may need to upgrade.
@@ -248,7 +239,7 @@
(note: these instructions might not be applicable any longer...)
-==== Optional security configuration ==== #mysql_security
+== Optional security configuration == #mysql_security
There is an interactive program to secure a MySQL installation.
@@ -284,7 +275,7 @@
-=== Step 4: Install PHP === #php
+= Step 4: Install PHP = #php
{{{
sudo port install php54-apache2handler
@@ -403,7 +394,7 @@
As a last check, reboot and verify that everything has autostarted and is running (i.e., repeat the above tests).
-=== Step 5: Install phpMyAdmin (optional) === #phpmyadmin
+= Step 5: Install phpMyAdmin (optional) = #phpmyadmin
Use MacPorts to install the latest version of `phpMyAdmin`.
@@ -465,7 +456,7 @@
To check your phpMyAdmin installation, point your browser to http://localhost/phpmyadmin and verify that phpMyAdmin loads and can access your database (by providing a username and password, depending on the authentication method you selected).
-==== Optional pmadb ==== #phpMyAdmin_pmadb
+== Optional pmadb == #phpMyAdmin_pmadb
For additional features provided by pmadb (http://wiki.phpmyadmin.net/pma/pmadb), run
{{{
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/MAMP>
MacPorts <https://www.macports.org/>
Ports system for OS X
This is an automated message. Someone added your email address to be
notified of changes on 'howto/MAMP' page.
If it was not you, please report to .
More information about the macports-changes
mailing list