[MacPorts] howto/MAMP modified

MacPorts noreply at macports.org
Fri Sep 4 03:40:52 PDT 2009


Changed page "howto/MAMP" by ryandesign at macports.org from 75.44.29.196*
Page URL: <http://trac.macports.org/wiki/howto/MAMP>
Diff URL: <http://trac.macports.org/wiki/howto/MAMP?action=diff&version=45>
Revision 45
Comment: update for php 5.3.0 and separate php5-mysql port

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 44)
+++ howto/MAMP (version: 45)
@@ -11,7 +11,7 @@
 
  * Apache 2.2.*
  * MySQL 5.0.*
- * PHP 5.2.*
+ * PHP 5.3.*
 
 == Installation ==
 
@@ -163,8 +163,11 @@
 === Step 4: Install PHP === #php
 
 {{{
-sudo port install php5 +apache2 +mysql5
-}}}
+sudo port install php5 +apache2
+sudo port install php5-mysql5
+}}}
+
+  '''''Note:''''' php5 contains the core PHP features, but there are many optional features available in separate ports, some of which you may want to install as well (such as MySQL support via the php5-mysql port). Use `port search php5` to see all the options that are available.
 
 Register PHP with Apache 
 
@@ -235,7 +238,7 @@
 ?>
 }}}
 
-and place it in your Apache "`DocumentRoot`" directory (should be "`/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 if applicable) and verify that the correct version of PHP is active (v5.2.8 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 (should be "`/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 if applicable) and verify that the correct version of PHP is active (v5.3.0 as of this writing) and that MySQL support is active (you may want to search the page for "`mysql`").
 
 As a last check, reboot and verify that everything has autostarted and is running (i.e., repeat the above tests).
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on howto/MAMP. If it was not you, please
report to .


More information about the macports-changes mailing list