Quick tip, if you have MAMP installed on your machine and need to run PHP or mysql via the terminal/command line, you can execute these lines to create symbolic links to point within your MAMP instance:
sudo mv /usr/bin/php /usr/bin/php-bak sudo ln -s /Applications/MAMP/bin/php/php5.3.14/bin/php /usr/bin/php sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/bin/mysql
Be sure to change the PHP folder to match the version you want by browsing the following path: /Applications/MAMP/bin/php/
The reason for renaming the existing PHP instance is because OSX runs its own web server (if Web Sharing is enabled).
I have been fortunate in working a lot more with Kubernetes lately over the last few months so I've been…
Building my portfolio site, I thought I'd show you how I set up my Wordpress development using Docker. Given the…
Frustrated with getting blank images in Puppeteer Chrome screenshots, recently I was in a situation where I needed to migrate…
It has been six year since my last major revamp/redesign of my current petertran.com.au portfolio site. So what are my…
This article helps to solve a Bad owner or permissions on .ssh/config issue occurring on a Windows 10 machine when…
Only a few lines of code required is to implement a payment system, thanks to inline Pin Payments integration. Accepting…