[MacPorts] howto/MAMP modified
MacPorts
noreply at macports.org
Mon Dec 29 21:03:14 PST 2014
Page "howto/MAMP" was changed by magill at mac.com
Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=86>
Revision 86
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 85)
+++ howto/MAMP (version: 86)
@@ -6,17 +6,17 @@
* Apache 2.2.* - See: [[howto/Apache2]] for instructions on installation of Apache2
* MySQL 5.6.* - See: [[howto/MySQL]] for instructions on installation ofMySQL
- * PHP 5.6.* - See: [[howto/PhP]] for instructions on instalation of PhP
+ * PHP 5.6.* - See: [[howto/PHP]] for instructions on instalation of PHP
Simplified sequence:
Install Apache
Install MySQL
-Install PhP
-Modify Apache Configuration to support MySQL and PhP.
+Install PHP
+Modify Apache Configuration to support MySQL and PHP.
-= Integrate PhP with Apache =
+= Integrate PHP with Apache =
If this is your first install, you need to enable php56-apache2handler in your web server.
@@ -58,7 +58,7 @@
Note: either of the above two edits are only required if the lines are not present in the httpd.conf file, as the apxs command (executed above) will add those for you.
-= Step 3: MySqL setup for PhP =
+= Step 3: MySqL setup for PHP =
Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql5/mysqld.sock)
{{{
@@ -100,12 +100,11 @@
phpinfo();
?>
}}}
-and place it in your Apache "`DocumentRoot`" directory (nominally: "`/opt/local/apache2/htdocs`") or your own user "`Sites`" directory if you activated user directories as specified above.
-Point your browser to http://localhost/phpinfo.php (or http://localhost/~username/phpinfo.php as applicable) and verify that the correct version of PHP is active (v5.6.4 as of this writing) and that MySQL support is active (you may want to search the page for "`mysql`"). \\
+and place it in your Apache "`DocumentRoot`" directory (nominally: "`/opt/local/apache2/htdocs`") or your own user "`Sites`" directory if you activated user directories as
+specified above.
+Point your browser to http://localhost/phpinfo.php (or http://localhost/~username/phpinfo.php as applicable) and verify that the correct version of PHP is active (v5.6.4 as of this
+writing) and that MySQL support is active (you may want to search the page for "`mysql`"). \\
Note that this file needs to be readable and executable.
-* Remember to return to [[howto/PhP]] to complete the PhP installation.
+* Remember to return to [[howto/PHP]] to complete the PHP installation.
-
-
-[wiki:howto <- Back to the HOWTO section]
-------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