Detect Required PHP Version

By Josh Sherman
1 min read
development
php

If you write and/or use open source software, you know that running an up to date version of PHP is a must. This can be a problem sometimes, like if you are running on a host that doesn’t run the most up to date version of PHP. Another scenario would […]

Rediscovering WordPress

By Josh Sherman
3 min read
development
wordpress
php
wpengine

If you’ve followed this blog for long enough you know that I’ve been through quite a few platform solutions over the years. Started with a homegrown blog, moved to WordPress, back again, moved to Tumblr and finally settling on Jekyll & Github because of it’s simplicity as well as the […]

Convert Errors to Exceptions in PHP

By Josh Sherman
1 min read
development
php

I was having a conversation with a buddy of mine the other day and we got on the topic of PHP not having a very standardized error system. Now that he’s working with Python the mix of errors and exceptions in PHP is an apparent shortcoming. PHP is funny like […]

Why I always wear a helmet

By Josh Sherman
9 min read
health
fitness
cycling
safety

When I first starting biking as my primary mode of transportation to my office I felt like I was wearing a helmet mainly because I hadn’t rode a bike in something like 15 years. It’s true what they say, you never forget how to ride a bike (barring a debilitating […]

Speed up PHP with APC

By Josh Sherman
1 min read
development
php

The Alternative PHP Cache (APC) is a PECL package that provides an opcode cache for PHP. Rasmus Lerdorf is the lead of the project along with a handful of other developers. What is an opcode cache? Before I can answer that, let’s discuss how PHP works. Because it is an […]