PHP and Slots in Gentoo

I had a gut-feeling using slots to quickly switch between different versions of PHP in Gentoo would be straightforward and it was.  The only piece of the puzzle that eluded me for a while, in the end, was working out how to tell portage to install a specific version. This is acheieved with an equals sign. As such: (Assuming in this instance 5.2 is already installed.)

Read more...

Detaching a PHP script from the shell on Ubuntu

I've learnt that detaching a PHP script from the shell and allowing it run as a daemon on Ubuntu is not as simple as I first thought.  I couldn't simply add an ampersand like this:

$ php ./script &

Read more...

PHP Mode for emacs on Mac OS X

It's been a long time since I figured this out and I can't remember what resource I used to help me. Anyway to get PHP Mode working with the native emacs bundled with Mac OS X do the following:

$ mkdir elisp; cd elisp
$ wget http://bit.ly/cLqD47

Read more...