Quantcast
Channel: Php on Dave Hall Consulting
Browsing all 35 articles
Browse latest View live

bye bye PHP 4

I have several servers running PHP 5 already, but as my laptop is my primary phpGroupWare development and test environment, it was running PHP 4. I knew this day would come, I just didn’t think it...

View Article


hello_world.c

cat hello_world.c #include <stdio.h> main() { printf ("Hello World!\n"); } $ gcc hello_world.c -o hello_world $ chmod +x hello_world $ ./hello_world Hello World! $ I have started playing with C...

View Article


PHP on Crack

I had a chuckle while reading Ed Finkler’s PHP6 wish list. After reading the (long since deleted) comment by Damien Seguy I almost fell off my chair. Try running the following code under PHP <?php...

View Article

PHP Unconference Hamburg Day 1

I spent yesterday at the PHP Unconference in Hamburg. None of the sessions were in English, so that meant I really struggled with some of the sessions, while some of the others I could pick up some of...

View Article

Day 2 at PHP Unconference Hamburg

I arrived back in Bergen late last night after spending another day the PHP Unconference in Hamburg. I even managed to get one speaker to do his talk in English, which made things a lot easier for me....

View Article


A Virtual Host per Project

Not long before my old laptop got to the end of it usable lifespan I started playing with the Zend Framework in my spare time. One of the cool things about ZF is that it wants to use friendly URLs, and...

View Article

Essential Tools for a PHP Developer

Tobias Schlitt has just posted some slides from his talk entitled “6 essential PHP development tools in 60 minutes”. I flicked the 90 or so slides in PDF format, they pretty much mirror my development...

View Article

Upcoming Book Reviews

Packt Publishing seem to have liked my review of Drupal 6 Javascript and jQuery, so much so they have asked me to review another title. On my return from linux.conf.au and Drupal South in New Zealand,...

View Article


Packaging Drush and Dependencies for Debian

Lately I have been trying to avoid non packaged software being installed on production servers. The main reason for this is to make it easier to apply updates. It also makes it easier to deploy new...

View Article


Packaging Doctrine for Debian and Ubuntu

I have been indoctrinated into to the everything on production machines should be packaged school of thought. Rather than bang on about that, I intend to keep this post relatively short and announce...

View Article

Group Redent Plugin for Status.net / Identi.ca

For a bit over a year now I’ve been using the free software based microblogging service identi.ca. Unlike twitter, the identi.ca code base is released under the AGPLv3, through the status.net project....

View Article

Solr Replication, Load Balancing, HAProxy and Drupal

I use Apache Solr for search on several projects, including a few with Drupal. Solr has built in support for replication and load balancing, unfortunately the load balancing is done on the client side...

View Article

Making it Easier to Spawn php-cgi on Debian and Ubuntu

Apache is a great web server, but sometimes I need something a bit more lightweight. I already have a bunch of sites using lighttpd, but I’m planning on switching them to nginx. Both nginx and lighttpd...

View Article


Keyword Bookmarking

When doing development work, from time to time it is handy to be able to look up documentation. Bookmarking manuals is handy, but often you still need to search for the function you’re after. Firefox,...

View Article

A Lost Parcel Results in a New Website

When Australia Post lost a parcel, we found a lot of problems with one of their websites.

View Article

Browsing all 35 articles
Browse latest View live