How to Setup a LEMP Stack on Ubuntu 12.04 LTS

By Josh Sherman
3 min read
development
linux
nginx
mysql
php
ubuntu

Don’t get me wrong, there’s nothing wrong with a good ol’ LAMP stack (Linux, Apache, MySQL and PHP) but in my experience, Apache doesn’t necessarily scale all that well with PHP. It’s really not Apache’s fault, the fact is that most of the time servers are configured to use the […]

Command-Line PHP

By Josh Sherman
4 min read
development
php
command-line

PHP is a powerful scripting language but did you know it can be used from the command-line as well? Using PHP from the CLI has many applications from checking what version of PHP is installed to being able to execute scripts and even check the syntax of a file. If […]

Browser redirect with PHP

By Josh Sherman
1 min read
development
php

Within nearly every web site or application there is a need to redirect a user to another page. Perhaps you want to route them to a login page when they aren’t authenticated or maybe because a page moved and you want to take them to the new location. To accomplish […]

How to Setup a LAMP Stack on Ubuntu 12.04 LTS

By Josh Sherman
2 min read
development
linux
apache
mysql
php
ubuntu

It seemed fitting that the first post on PHP Avenue should be about setting up a new server with PHP. This particular post will focus on a traditional LAMP stack (Linux, Apache, MySQL, PHP) on Ubuntu 12.04 LTS. I also intend on writing additional posts covering the setup of a […]

How I schedule my time

By Josh Sherman
6 min read
development
blogging
time management
project management
productivity

Being my own boss has some definitely advantages, like being able to take a beach day on a whim or go to watch one of my daughter’s dance classes. The unfortunate side of that is that you still have to manage your time if you want to get shit done. […]