/opt/homebrew/etc/php//conf.d/ext-xdebug.ini.The repo contains a screenshot of my config for Xdebug and PHPStorm.You should absolutely install it instructions are available as part of the same tutorial we used for MySQL. I did not find it necessary to modify the MySQL configs.See for a full write-up on installing MariaDB and configuring Apache hosts. This setup uses MariaDB as a substitute for MySQL.Note that, on an M1 Silicon chip Mac, Homebrew installs packages in a different place than the linked docs note.Feel free to crank it up in the php.ini file: If you are developing with Drupal, or some other heavy-RAM-usage app, the default memory limit will likely not be near enough.If you don’t install multiple versions, you can skip the php version switcher script section.I normally install only one version of PHP lately 7.4.See for a full write-up on installing Apache and PHP.I’ve noted explicit changes below where relevant. I highly recommend you do not copy and paste or overwrite the config files Brew installs! The repo is for reference and review only. Four Kitchens has a Github repo with tools and configuration samples. This section details the installs required to get a fully functional local server running. Generally, this takes the form of brew install. Once that’s installed, you can use brew to install other things. Instructions are at brew.sh, but it’s a simple curl statement that you paste into a terminal: /bin/bash -c "$(curl -fsSL )" After installing iTerm2 and the other general purpose apps, it’s usually the next thing installed. Homebrew is “The Missing Package Manager for macOS.” It’s a tool that allows you to install Linux command line tools and other packages easily. This blog will not dive into that can of worms any further instead, I’ll focus on getting a development environment up and running using Homebrew. In short, it has stalled due to some upstream requirements from packages that Docker installs (though Docker Desktop for Mac itself is ready), as noted in the Docker docs. The Great Armification details efforts by the Lando team to get up to speed with the ARM-64 architecture. What’s Lando? Lando is a free, open-source, cross-platform local development environment and DevOps tool built on Docker containers. Most of our site builds use Lando to set up local development environments. Installing most or all of these is recommended by most of our developers at Four Kitchens.
0 Comments
Leave a Reply. |