PHP Session settings ignored?

I just read an extremely interesting post which explains an unwanted side effect of garbage collection by some Debian based systems. This cleanup process causes (maybe amongst other things) sessions to be cleared every 24 minutes, regardless of any ini setting you have set after the php.ini file is parsed (for example using ini_set() – if you are a symfony user, this is done during initialisation based on a setting in your factories.yml file).

Check it out:

Pink Shadows in Ubuntu (Compiz) after upgrading to Hardy Heron

At first I thought it was a cute effect that could be modified, but after playing around with the Compiz settings I realised this was actually a bug!

Some people have found success by installing the Nvidia drivers from their website instead of using the ones packaged with Hardy, however this also does the job nicely:

sudo rm /usr/lib/xorg/modules/
sudo ln -s /usr/lib/nvidia/ /usr/lib/xorg/modules/

You are only deleting and recreating a symbolic link, so it’s nothing too drastic that you should be worried about trying. Just log out and back in again after doing it and you should see “normal” shadows which you can go ahead and edit on the “window decoration” section of the Compiz settings.