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…
Category: PHP
What does the symbol “&” “&&” “||” “::” “%” “!!” “**” mean in PHP?
This is the best guide on PHP symbols I’ve every seen. If only something like this existed when I was first learning to code. Reference: &…
How to turn display_errors to on in php.ini file
This is a quick tutorial that will walk you through turning display errors on in your php.ini file.
How to enable and setup php.ini on a Mac with OSX 10.8 + (MAMP Part 4)
Welcome to part 4 of the MAMP tutorial. In this post we will go over setting up php.ini on your Mac’s localhost.
How to install Apache and PHP on a Mac (MAMP Part 1)
This tutorial will show you how to set up an Apache server to run PHP on a mac OSX 10.8+ with Mountain Lion or later…
Solved: Running git pull from a php script causing an error?
I wanted to improve my Git workflow, so I went about using GitHub’s Service Hooks to set up a web hook to my development server.…
The Scope Resolution Operator (::) explained
I remember when I first came across the mysterious double-colon (::), also known as the Scope Resolution Operator. I was experimenting with a php library…
PHP Classes briefly explained
What is a Class A class is also known as an object. To better understand the concept of an object, think of it as you…
Increase PHP Script Execution Time Limit Using ini_set()
Today I had to set the PHP script execution time directly from within the php file. Here’s what I did. Add the following code to…
What to do when you have the error “too many connections”
Recently our servers went down. The error we were getting was “Too many connections”. This meant that we needed to increase the limit on the…