I hereby claim:
- I am andrewgioia on github.
- I am andrewgioia (https://keybase.io/andrewgioia) on keybase.
- I have a public key whose fingerprint is 53ED 79EE 95F4 4E47 CD01 A4E2 8409 6299 26E6 D0B0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This guide will walk through the steps (and common issues/workarounds) to installing PHP, Apache, MySQL, Redis, Mongo DB, and Couch DB, as well as all necessary dependencies and their configuration with PHP and the OS X/macOS system.
It is important to remember Mac OS X/macOS runs atop UNIX, so all of these technologies install easily on your OS. Furthermore, Apache and PHP are included by default. In the end, you only install MySQL and the other databases and then simply "turn everything on."
Important notes on updating OS X/macOS: with every update of OS X (Yosemite, El Capitan, etc) and now macOS Sierra, your Apache configuration file will be overwritten to
httpd.conf.pre-update
and a stock file will be added. Your virtual hosts file,/extras/httpd-vhosts.conf
will also be overwritten and not backed up automatically. You need to diffhttpd.conf
and your backed up version, add your virtual host configuration from your own backup, and re-apply y
/* Global */ | |
header { | |
background: #26292C; | |
} | |
body { | |
background: #4b4b4b; | |
color: #ddd; | |
} |
/* Inputs */ | |
input[type=date], | |
input[type=number], | |
input[type=password], | |
input[type=text], | |
textarea, | |
select, | |
.aj-th-filter .aj-th-filter-field { | |
background: #333; |
/* Layout */ | |
.row.page, | |
footer { | |
background: #4b4b4b; | |
} | |
footer { | |
color: #eee; | |
} |
/* Scrollbar */ | |
.tree::-webkit-scrollbar, | |
fieldset.settings::-webkit-scrollbar, | |
fieldset.list::-webkit-scrollbar, | |
section::-webkit-scrollbar, | |
.tt-menu::-webkit-scrollbar{ | |
width: 15px; | |
} | |
/* | |
* YouTube Audio-only CSS | |
* Add this to Stylus or any browser style extension for audio-only "work mode" | |
* Hides all images, avatars, and the video | |
*/ | |
/* Video player */ | |
div#player-container, | |
div#player, |
(\.|^)bytecdn\.cn$ | |
(\.|^)bytedance\.com$ | |
(\.|^)bytedance\.net$ | |
(\.|^)bytedns\.net$ | |
(\.|^)byteimg\.com$ | |
(\.|^)byteoversea\.com$ | |
(\.|^)byteoversea\.net$ | |
(\.|^)bytetcdn\.com$ | |
(\.|^)hypstarcdn\.com$ | |
(\.|^)ibytedtos\.com$ |
Below are the key settings that I apply on our Unifi installation for optimal performance. Credit @adrianmace.
Enable Advanced Features
is enabled