- Install memcached. I'd suggest using homebrew.
brew install memcached - Select your desired version of PHP that you'd like to use in MAMP. This dropdown is located in the PHP tab in MAMP PRO.
- Visit the Downloads Page on php.net and download the source code. If your release isn't listed, visit the Releases page.
- Extract the source into
/Applications/MAMP/bin/php/[php version folder]/include/php. /Applications/MAMP/bin/php/[php version folder]/include/php/configure/Applications/MAMP/bin/php/[php version folder]/bin/pecl i memcache.- Add
extension=memcache.soto your php.ini- MAMP Pro:
/Applications/MAMP\ Pro/MAMP\ PRO.app/Contents/Resources/php[your php version].ini
- MAMP Pro:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /var/www | |
| drush dl drupal --drupal-project-rename=d7 | |
| cd d7 | |
| drush si -y --db-url=mysql://root:personofinterest@localhost/d7 | |
| drush upwd admin --password="admin" | |
| //Maybe you need this | |
| cd sites/default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Ignore emacs backup files... | |
| *~ | |
| # Ignore configuration files that may contain sensitive information. | |
| sites/*/settings.php | |
| # Ignore paths that contain user-generated content. | |
| .sass-cache/* | |
| sites/*/files | |
| sites/*/private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "wide", | |
| "default_line_ending": "unix", | |
| "draw_white_space": "all", | |
| "ensure_newline_at_eof_on_save": true, | |
| "fade_fold_buttons": false, | |
| "fallback_encoding": "UTF-8", | |
| "find_selected_text": true, | |
| "font_options": |
NewerOlder