Changes between Version 98 and Version 99 of howto/MAMP


Ignore:
Timestamp:
Mar 26, 2020, 1:25:27 PM (4 years ago)
Author:
haraldgroven (Harald)
Comment:

MySQL8 is GA since 2019-04, please verify this with clean install

Legend:

Unmodified
Added
Removed
Modified
  • howto/MAMP

    v98 v99  
    99
    1010 * Apache 2.4.* - See: [[howto/Apache2]] for instructions on installation of Apache2
    11  * MySQL 5.7.* - See: [[howto/MySQL]] for instructions on installation of MySQL
     11 * MySQL 8.* - See: [[howto/MySQL]] for instructions on installation of MySQL
    1212 * PHP 5.6.* - See: [[howto/PHP]] for instructions on installation of PHP
    1313
     
    3232$ sudo /opt/local/bin/apxs -a -e -n php5 mod_php56.so
    3333$ # or, if you're using php7...
    34 $ sudo /opt/local/bin/apxs -a -e -n php7 mod_php71.so
     34$ sudo /opt/local/bin/apxs -a -e -n php7 mod_php74.so
    3535}}}
    3636This should return the message:
     
    5656Include etc/apache2/extra/mod_php56.conf
    5757# Or...
    58 Include etc/apache2/extra/mod_php71.conf
     58Include etc/apache2/extra/mod_php74.conf
    5959}}}
    6060
     
    6464LoadModule php5_module modules/mod_php56.so
    6565# Or...
    66 LoadModule php7_module modules/mod_php71.so
     66LoadModule php7_module modules/mod_php74.so
    6767}}}
    6868
     
    7070
    7171= Step 3: MySQL setup for PHP =
    72 Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql57/mysqld.sock)
     72Setup the MySQL default socket to use the MacPorts configuration (/opt/local/var/run/mysql8/mysqld.sock)
    7373
    7474{{{
     
    8787The "`grep`" check should return:
    8888{{{
    89 pdo_mysql.default_socket=/opt/local/var/run/mysql57/mysqld.sock
    90 mysql.default_socket=/opt/local/var/run/mysql57/mysqld.sock
    91 mysqli.default_socket=/opt/local/var/run/mysql57/mysqld.sock
     89pdo_mysql.default_socket=/opt/local/var/run/mysql8/mysqld.sock
     90mysql.default_socket=/opt/local/var/run/mysql8/mysqld.sock
     91mysqli.default_socket=/opt/local/var/run/mysql8/mysqld.sock
    9292}}}
    9393