Changes between Version 90 and Version 91 of howto/MAMP


Ignore:
Timestamp:
Jun 3, 2015, 3:31:59 PM (9 years ago)
Author:
geekosaur
Comment:

replace with $() in shell command for clarity; minor cleanups

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v90 v91  
    2727{{{
    2828$ cd /opt/local/apache2/modules
    29 $ sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php56.so
     29$ sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php56.so
    3030}}}
    3131This should return the message:
     
    6666# cd /opt/local/etc/php56
    6767# cp php.ini php.ini.bak
    68 # defSock=`/opt/local/bin/mysql_config --socket`
     68# defSock=$(/opt/local/bin/mysql_config --socket)
    6969# cat php.ini | sed \
    7070  -e "s#pdo_mysql\.default_socket.*#pdo_mysql\.default_socket=${defSock}#" \
     
    7575# exit # OR rm php.ini.bak && exit
    7676}}}
    77 The "grep" check should return:
     77The "`grep`" check should return:
    7878{{{
    7979pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock
     
    9999}}}
    100100and 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.
    101 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`"). \\
     101Point 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`"). \\
    102102Note that this file needs to be readable and executable.
    103103