Skip to content
Machiine Logo

Machiine

Adventure, Business, Bicycles, Code & Design

Machiine
  • Adventure
  • Tutorials
  • Essays
  • On Bicycles
  • On Business
  • On Design
  • On Intelligence
  • On Leadership
  • On Machines

Category: PHP

Apache

Migrating PHP and Apache to latest Mac OS after update

  • October 16, 2018
  • Jonathan Whiting
  • Make a comment on Migrating PHP and Apache to latest Mac OS after update

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…

Continue Reading...

PHP

What does the symbol “&” “&&” “||” “::” “%” “!!” “**” mean in PHP?

  • January 11, 2015
  • Jonathan Whiting
  • Make a comment on 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: &…

Continue Reading...

mac

How to turn display_errors to on in php.ini file

  • July 28, 2013
  • Jonathan Whiting
  • Make a comment on 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.

Continue Reading...

MAMP

How to enable and setup php.ini on a Mac with OSX 10.8 + (MAMP Part 4)

  • February 15, 2013October 18, 2014
  • Jonathan Whiting
  • 44 Comments on How to enable and setup php.ini on a Mac with OSX 10.8 + (MAMP Part 4)
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.

Continue Reading...

Apache

How to install Apache and PHP on a Mac (MAMP Part 1)

  • February 8, 2013August 7, 2020
  • Jonathan Whiting
  • 219 Comments on How to install Apache and PHP on a Mac (MAMP Part 1)
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…

Continue Reading...

Git

Solved: Running git pull from a php script causing an error?

  • June 2, 2012June 2, 2012
  • Jonathan Whiting
  • 2 Comments on 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.…

Continue Reading...

PHP

The Scope Resolution Operator (::) explained

  • December 17, 2011August 25, 2022
  • Jonathan Whiting
  • 6 Comments on 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…

Continue Reading...

PHP

PHP Classes briefly explained

  • December 16, 2011August 25, 2022
  • Jonathan Whiting
  • 2 Comments on 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…

Continue Reading...

PHP

Increase PHP Script Execution Time Limit Using ini_set()

  • November 29, 2011April 22, 2012
  • Jonathan Whiting
  • Make a comment on 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…

Continue Reading...

MySQL

What to do when you have the error “too many connections”

  • November 21, 2011April 22, 2012
  • Jonathan Whiting
  • Make a comment on 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…

Continue Reading...

Posts pagination

1 2

Join the adventure

Go back

Your message has been sent

Warning
Warning
Warning.

Copyright © 2025 . All rights reserved.
[ Back To Top ]
 

Loading Comments...