[MacPorts] howto/MAMP modified

MacPorts noreply at macports.org
Wed Jun 3 08:32:01 PDT 2015


Page "howto/MAMP" was changed by allbery.b at gmail.com
Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=91>
Revision 91
Comment: replace `` with $() in shell command for clarity; minor cleanups
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 90)
+++ howto/MAMP (version: 91)
@@ -26,7 +26,7 @@
 
 {{{
 $ cd /opt/local/apache2/modules
-$ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php56.so
+$ 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]''
@@ -65,7 +65,7 @@
 $ sudo -i
 # cd /opt/local/etc/php56
 # cp php.ini php.ini.bak
-# defSock=`/opt/local/bin/mysql_config --socket`
+# defSock=$(/opt/local/bin/mysql_config --socket)
 # cat php.ini | sed \
   -e "s#pdo_mysql\.default_socket.*#pdo_mysql\.default_socket=${defSock}#" \
   -e "s#mysql\.default_socket.*#mysql\.default_socket=${defSock}#" \
@@ -74,7 +74,7 @@
 # mv tmp.ini php.ini
 # exit # OR rm php.ini.bak && exit
 }}}
-The "grep" check should return:
+The "`grep`" check should return:
 {{{
 pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
 mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
@@ -98,7 +98,7 @@
 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`"). \\
+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.
-------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