Changes between Version 90 and Version 91 of howto/MAMP
- Timestamp:
- Jun 3, 2015, 3:31:59 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v90 v91 27 27 {{{ 28 28 $ cd /opt/local/apache2/modules 29 $ sudo /opt/local/apache2/bin/apxs -a -e -n "php5"mod_php56.so29 $ sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php56.so 30 30 }}} 31 31 This should return the message: … … 66 66 # cd /opt/local/etc/php56 67 67 # cp php.ini php.ini.bak 68 # defSock= `/opt/local/bin/mysql_config --socket`68 # defSock=$(/opt/local/bin/mysql_config --socket) 69 69 # cat php.ini | sed \ 70 70 -e "s#pdo_mysql\.default_socket.*#pdo_mysql\.default_socket=${defSock}#" \ … … 75 75 # exit # OR rm php.ini.bak && exit 76 76 }}} 77 The " grep" check should return:77 The "`grep`" check should return: 78 78 {{{ 79 79 pdo_mysql.default_socket=/opt/local/var/run/mysql56/mysqld.sock … … 99 99 }}} 100 100 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. 101 Point your browser to http://localhost/phpinfo.php (or http://localhost/~username/phpinfo.phpas 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`"). \\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`"). \\ 102 102 Note that this file needs to be readable and executable. 103 103