Skip to content

Instantly share code, notes, and snippets.

View mitchkramez's full-sized avatar

Mitch Kramer mitchkramez

View GitHub Profile
@mitchkramez
mitchkramez / homebrew_multiple_mysql_versions.md
Last active January 27, 2021 15:24 — forked from benlinton/multiple_mysql_versions_for_development.md
Multiple MySQL Versions with Homebrew

Multiple MySQL Versions with Homebrew

For homebrew version 1.5.12 - WIP... not quite working yet.

brew -v # => Homebrew 1.5.12

Install the current version of mysql.

# Install current mysql version

brew install mysql

@mitchkramez
mitchkramez / PHP 5.4, 5.3 setup via Macports
Last active December 29, 2015 11:49 — forked from raphaelstolt/php54_php53_pear_macports.markdown
Guide to setting up macports LAMP stack with PHP 5.3 and 5.4 available to switch out depending on needs.
##Given
Apache 2 and MySQL are already installed.
#Update MacPorts
sudo port selfupdate;sudo port -u upgrade outdated
#Install PHP 5.4.*
sudo port install php54 php54-apache2handler
##Activate Apache Module
cd /opt/local/apache2/modules