New Mac setup for PHP, MySQL, NGINX and Dnsmasq

Contact us

New Mac setup for PHP, MySQL, NGINX and Dnsmasq

DNSMASQ
https://www.stevenrombauts.be/2018/01/use-dnsmasq-instead-of-etc-hosts/

NGINX
https://www.sylvaindurand.org/setting-up-a-nginx-web-server-on-macos/
https://gist.github.com/jimothyGator/5436538

sudo brew services start nginx
sudo brew services restart nginx

vi /usr/local/etc/nginx/nginx.conf

PHP
brew install php
sudo brew services start php73
sudo brew services restart php73

MySQL
https://www.sylvaindurand.org/setting-up-a-nginx-web-server-on-macos/

brew install mariadb
brew services start mariadb
sudo mysql_secure_installation

COMPOSER
https://duvien.com/blog/installing-composer-mac-osx

REDIS
https://medium.com/@hungom.oct19/how-to-install-redis-on-catalina-mac-os-5dc173b08bf6

06 January 2020