Apache + MySQL8 + PHP8 + Composer + Mailpit
https://docs.docker.com/compose/cli-command/#install-on-linux
make build
See Makefile.
Install mkcert, then
$ mkcert --install
$ mkcert localhost
Add localhost.pem
and localhost-key.pem
file to php-apache/apache2/ssl
.
php -m | egrep -i -v 'bcmath|ctype|fileinfo|json|mbstring|openssl|pdo|tokenizer|xml'
php -r 'phpinfo();'
php -r 'mail("[email protected]", "Subject", "Message", "From: [email protected]");'