Category Archives: Uncategorized

Installing MySQL on OSX

By | November 10, 2020

There are 2 main ways to install mySQL on OSX. Using Homebrew or a .dmg installer from MySQL. Here I’ll go over the MySQL installer because you get a neat panel to start and stop the database. MySQL installer Head over to and download the latest community version and then run through the install… Read More »

How to configure Apache to run PHP on OSX

By | November 8, 2020

Navigate to: /etc/apache2/httpd.conf and search for php. You should see: Remove the # which is uncommenting that line. Save the file and then restart Apache with the command: As a quick test, if you place a small php file in your web server directory (/Library/WebServer/Documents/) you should be able to run it. The other option… Read More »

How to install Vagrant on MacOS

By | August 2, 2020

brew cask install vagrant It is pretty straight forward. Then to install virtualbox, just run: brew cask install virtualbox Create a vagrant folder and then run the init command: mkdir vagrant/ubuntu cd vagrant/ubuntu vagrant init ubuntu/xenial64 The ubuntu/xenial64 option is basically pointing to the vagrant “box” or the OS hosted at What happens is… Read More »

How to test the brew instance of Apache

By | August 2, 2020

If you are looking to work with Apache on OSX you have probably been advised to not use the Apache 2.4 pre-installed version because Apply has removed some required scripts, especially in the macOS 10.15 Catalina release. Here are the commands to run to install Apache via brew. First shutdown Apache and unload any scripts.… Read More »

How to test the default Apache in OSX

By | July 25, 2020

Apache is installed and enabled in OSX by default. To confirm and check your version instance, see this. To start it, run this command in terminal: sudo apachectl start Then open up http://localhost on your browser and you should see this: You can also check the threads in Activity Monitor. To find out where this… Read More »