User Tools

Site Tools


macos_lamp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
macos_lamp [2017/06/22 08:53] – created adminmacos_lamp [2017/08/08 11:04] – [MacOS Lamp install] admin
Line 1: Line 1:
 ====== MacOS Lamp install ====== ====== MacOS Lamp install ======
  
 +Install repos and unlink default php
 +
 +<code>
 +brew tap homebrew/dupes
 +brew tap homebrew/versions
 +brew tap homebrew/homebrew-php
 +brew unlink php56
 +</code>
 ===== Install required Software ===== ===== Install required Software =====
  
Line 13: Line 21:
 ===== General config ===== ===== General config =====
  
-atom /usr/local/etc/apache2/2.4/httpd.conf+  atom /usr/local/etc/apache2/2.4/httpd.conf
  
 ===== Add PHP7 Module ===== ===== Add PHP7 Module =====
Line 33: Line 41:
  
   ls -la /usr/local/var/www/htdocs/   ls -la /usr/local/var/www/htdocs/
 +
 +
 +<code>
 +## Local DNS
 +brew install dnsmasq
 +sudo brew services start dnsmasq
 +
 +sudo mkdir -v /etc/resolver
 +sudo bash -c 'echo "nameserver 127.0.0.1" > /etc/resolver/dev'
 +
 +https://getgrav.org/blog/macos-sierra-apache-mysql-vhost-apc
 +
 +
 +## Notes about installing mysql/mariadb should go here ...
 +
 +
 +
 +
 +complete -cf sudo
 +</code>
  
 ## Notes about installing mysql/mariadb should go here ... ## Notes about installing mysql/mariadb should go here ...