PHP 5.2.10 and PEAR – Notice: Undefined variable: dorest in PEAR/Command/Install.php on line 1220

Today, after upgrading packages with apt-get on a server running Debian Lenny my PEAR installation seemed to be broken. PHP had been updated to 5.2.10 and PEAR version was now 1.8.0. So when I realised that PEAR wasn’t the latest stable I tried upgrading PEAR using the command I’ve always used: pear upgrade pear, where […]

Setting up a web server with Apache 2.2.x and PHP 5.2.x with extensions, PEAR, MySQL 5.x and pdo_mysql on FreeBSD 7 step by step tutorial

This quick tutorial will show you how to set up a FreeBSD machine (based on minimal install) to run as a web server using Apache 2.2.x, PHP 5 and MySQL 5. This tutorial is based on FreeBSD 7.2 (the current stable release at the time of this writing). This tutorial builds on the minimal installation […]

Fetching tweets with jQuery and the Twitter JSON API

Just thought it’d be nice to share this little script that fetches tweets using a jQuery AJAX request and the Twitter API. The script is based on a snippet I picked up from my good friend Sven Lito. I’ve added verbose comments in the code itself, so let’s keep this post short 😉 This post […]

Managing ports in FreeBSD

The aim of this article is to summarise the installation, reinstallation and deinstallation of ports (packages) in FreeBSD. The FreeBSD ports collection is probably one of the most compelling reasons to choose FreeBSD (and you will soon see why). This tutorial continues from where we left the minimal installation in my previous post, so I […]

Installing a minimal FreeBSD machine

This tutorial outlines how to install a FreeBSD minimal setup using version 7.2. Instead of trying to put the whole process into writing I thought that a “screen by screen” approach would be a better idea. I hope the screenshots speak for themselves. Note that I’ve included every single screen and taken the screenshots after […]