# Mamp

WARNING

PHP >= 7.3

# Spade License

LICENSE

Mamp Pro 4 : MP-6B90-EC1F-A05C-3BC00-685F-322A-D068-7122B-D

Mamp Pro 5 : MP-00B9-A8A9-8FC4-63C00-7942-895B-6779-DA4E1-J

# How to create a new Minotaure project

In Mamp, create a new projet

Prefer .spade for your domain.

name.spade

Define the document root

/htdocs/

Create a Database

name

WARNING

Please click on the "Save" button

Nothing will work if you do not save MAMP server before testing the url…

# How to add WPCLI to MAMP

  • Find your php.ini file
php --ini
1
  • Open the file with an editor

Replace or uncomment

pdo_mysql.default_socket = 
# by
pdo_mysql.default_socket = /var/lib/mysql/mysql.sock 
1
2
3

And

mysqli.default_socket = 
# by
mysqli.default_socket = /var/lib/mysql/mysql.sock
1
2
3
  • Open .bash_profile path
open ~/.bash_profile
1
  • Write in
export PATH=$PATH:/Applications/MAMP/Library/bin
1
  • Reload .bash_profile
source ~/.bash_profile
1
Last Updated: 4/14/2020, 11:57:40 AM