[MacPorts] howto/MAMP modified
MacPorts
noreply at macports.org
Mon Dec 29 21:32:50 PST 2014
Page "howto/MAMP" was changed by magill at mac.com
Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=87>
Revision 87
Comment: Insert $ prefix on commands
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 86)
+++ howto/MAMP (version: 87)
@@ -25,8 +25,8 @@
Register PHP with Apache
{{{
-cd /opt/local/apache2/modules
-sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php56.so
+$ cd /opt/local/apache2/modules
+$ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php56.so
}}}
This should return the message:
''[activating module `php5' in /opt/local/apache2/conf/httpd.conf]''
@@ -79,15 +79,15 @@
If you installed php5 with the +pear variant you should also:
{{{
-cd /opt/local/etc/php5
-sudo cp pear.conf.sample pear.conf
+$ cd /opt/local/etc/php5
+$ sudo cp pear.conf.sample pear.conf
}}}
Restart Apache so that your changes take effect
{{{
-sudo port unload apache2
-sudo port load apache2
+$ sudo port unload apache2
+$ sudo port load apache2
}}}
= Step 4: Craete phpinfo =
-------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