Changes between Version 98 and Version 99 of howto/MAMP
- Timestamp:
- Mar 26, 2020, 1:25:27 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/MAMP
v98 v99 9 9 10 10 * Apache 2.4.* - See: [[howto/Apache2]] for instructions on installation of Apache2 11 * MySQL 5.7.* - See: [[howto/MySQL]] for instructions on installation of MySQL11 * MySQL 8.* - See: [[howto/MySQL]] for instructions on installation of MySQL 12 12 * PHP 5.6.* - See: [[howto/PHP]] for instructions on installation of PHP 13 13 … … 32 32 $ sudo /opt/local/bin/apxs -a -e -n php5 mod_php56.so 33 33 $ # or, if you're using php7... 34 $ sudo /opt/local/bin/apxs -a -e -n php7 mod_php7 1.so34 $ sudo /opt/local/bin/apxs -a -e -n php7 mod_php74.so 35 35 }}} 36 36 This should return the message: … … 56 56 Include etc/apache2/extra/mod_php56.conf 57 57 # Or... 58 Include etc/apache2/extra/mod_php7 1.conf58 Include etc/apache2/extra/mod_php74.conf 59 59 }}} 60 60 … … 64 64 LoadModule php5_module modules/mod_php56.so 65 65 # Or... 66 LoadModule php7_module modules/mod_php7 1.so66 LoadModule php7_module modules/mod_php74.so 67 67 }}} 68 68 … … 70 70 71 71 = Step 3: MySQL setup for PHP = 72 Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql 57/mysqld.sock)72 Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql8/mysqld.sock) 73 73 74 74 {{{ … … 87 87 The "`grep`" check should return: 88 88 {{{ 89 pdo_mysql.default_socket=/opt/local/var/run/mysql 57/mysqld.sock90 mysql.default_socket=/opt/local/var/run/mysql 57/mysqld.sock91 mysqli.default_socket=/opt/local/var/run/mysql 57/mysqld.sock89 pdo_mysql.default_socket=/opt/local/var/run/mysql8/mysqld.sock 90 mysql.default_socket=/opt/local/var/run/mysql8/mysqld.sock 91 mysqli.default_socket=/opt/local/var/run/mysql8/mysqld.sock 92 92 }}} 93 93