Blog Tag :: php

Fixing APC upload bug when no file is given in upload field. Complies to PHP 5.3.5-1ubuntu7.7 on Ubuntu 11.04

I had a few problems building the php5-solr extension with the regular pecl command on my Ubuntu 10.04 box, so this will show you how it is done. I guess it will work with other versions of ubuntu as well.

A couple of function to use in order to rename a directory recursively. Needed it at my work and could not find anything that worked the way I excepted.

Most simple example of an event dispatcher I can think of. Written in PHP

Short function to cache ini files with apc.

Showing how to create startup or init scripts with PHP on a Ubuntu machine. Short and easy to follow howto.

Short entry to show how to make screen dump on linux with PHP.

this entry describes how to redirect a request acording to both servername and server port (e.g. 80 = http and 443 = https)