HAMmP is an acronym for:
- Homebrew : All components installed using Homebrew.
- Apache : Web server.
- MySQL : Database server
- multiple PHP : Install multiple PHP versions and switch between them.
Mac OS X and macOS comes with Apache and PHP pre-installed, but it's not in a great configuration, is not the latest version, requires root to make lots of changes, and can introduce issues with file ownership and permissions.
We prefer to use Homebrew to avoid these problems and because it's easier to keep up to date with newer versions of each component and extend customisation.
This documentation describes how to setup a Apache-MySQL-PHP stack with multiple PHP versions and optional extra's.
- Preparation
- Homebrew
- MariaDB or MySQL
- Apache
- PHP
- ImageMagick
- Xdebug
- Composer
- Drush
- Mailpit
- Management
- Apache Solr
- PHP AMQP
- Java
- Node JS
- Python
- Redis
- Ruby
- Tika
- Run a single vhost on a different PHP version
- Add Apache vhost
- Add Solr core
- MariaDB Back-up : Take a dump of each MariaDB database in its own SQL File.
- MariaDB to MySQL : Migrate from MariaDB to MySQL.
This install guide is based on: