mac

After upgrading you MacOS, you will need to reconfigure your MAMP server. Fortunately, it’s pretty easy to do. However, sometime hiccups happen. Here’s a quick guide to follow that will walk you through the things to check. 1. enable php.ini cd /etc move default to php.ini sudo cp php.ini-5.2-previous php.ini If you need to resetup…

Read More Migrating PHP and Apache to latest Mac OS after update

A quick trick to empty a file using Terminal on Mac. 1. Open Terminal 2. enter the following command in Terminal cat /dev/null > fileName If you get a warning Permission Denied you can do the following trick. sudo sh -c ‘cat /dev/null > fileName’

Read More Mac – How to clear a file’s contents using Terminal command