After installing Mountain Lion I discovered that Apple changed their settings for Apache. Here are some amazing tutorials I came across that will help you get your Mac Mountain Lion Apache PHP MySQL server up and running. Installing Apache MySQL, PHP and setup Virtual Hosts http://todsul.com/lamp-mac-os-x-lion Installing and configuring Apache, MySQL, PHP and phpMyAdmin http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion…Read More Amazing tutorials to setup Apache, PHP and MySQL on Mountain Lion
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 I hadn’t written, but was asked to extend, and at the time I had no idea what classes were, how they worked, or how they helped. To try and figure…Read More The Scope Resolution Operator (::) explained
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 your file. You can change the seconds to what you need. It is important to be careful using this on a live server. If you allow a script to run…Read More Increase PHP Script Execution Time Limit Using ini_set()
Inevitably every programmer is going to encounter MVC architecture. MVC or model-view-controller is a pattern used by applications that divides the application into 3 parts. At first glance MVC can look more complicated than it is. Let’s look at the three parts. Model – The model handles the data and cares about where the data…Read More MVC architecture explained briefly.