Archives For php

APC on a WHM/CPanel Server

February 21, 2011

One of my clients needed APC installed for their application, so I initially tried to install it via WHM module installer …. this failed.   Here are the steps that I took to get it working via CLI
First download the newest stable release of APC and then run the following commands.

wget http://pecl.php.net/get/APC-3.1.6.tgz
tar -xzf APC-3.1.6.tgz
cd APC-3.1.6
which php
phpize

If you do not have pcre installed the make install will fail.  So make Continue Reading…

I recently was hit with an issue where I had to import about 500 employees into a database and having each one added to multiple departments. With the use of an array I was able to write up some pretty simple code to import a CSV file that simply contained “username, realname” into the database. Thought I would post it in case anyone ever needed to do something along these lines.

Minify WordPress Plugin

April 22, 2010

I recently release the Minify Link plugin for WordPress.  So far there have been a few downloads, and the stats on Minify.us are increasing slowly but surely.  Check out link on the right hand side for a little more info as well as a download link off the official WordPress plugin site.