Download here => https://dev.mysql.com/downloads/file/?id=476953
Start it by opening System Preferences
and selecting the MySQL icon at the bottom. Choose start & start on boot up
Nginx is installed through brew
$ brew install nginx
Next you need to edit your /usr/local/etc/nginx/nginx.conf
to default to port 80.
Next create a file at /usr/local/etc/nginx/servers/kizanpro.conf
Copy the config from https://gist.github.com/hamiltonsw/bc4581fb3c47ab06e0e7c83e28f70d00
Change the root
value to match where you've installed your kizanpro repo.
Change the server_name
value to match the server name you've set up in /etc/hosts
. (Your entry in that file should look like the following)
127.0.0.1 kizanpro.local
PHP-7.0 is also installed using brew
$ brew install php70
Start mysql as described in that section.
Start nginx with the following command:
$ sudo nginx
Start php with the following command:
$ sudo brew services start php@70