Hmmm ... mods-available ?
php5enmod
What's happened here is that all debian-flavoured unixes have adopted this standard for their PHP 5.4 packages, so if you're using debian, ubuntu, or any of their relatives with PHP 5.4, you'll see a directory structure like this. When you add a module to PHP, you'll add a file to the mods-available directory enabling the module and adding any config specific to it. If you want to enable the module, just do:
This simply creates a symlink from the usual conf.d directory to point to where the real files are in mods-available, prefixed with a number that indicates the priority of the module. By default, the priority is 20.
Using this approach means we can toggle things on and off without commenting out big chunks of config files and leaving them lying around - if this seems familiar then that's no surprise; debian-like linuxes manage their apache configuration in just the same way. Any packages that you install using aptitude will use these exact same commands to set up the configuration and then symlink it correctly. To unlink, use the delightfully predictably-named php5dismod :)
This new structure was news to me, so I thought I'd make a note of it - lots of people are upgrading at the moment I know, so if that includes you, here's a little something to help you along the way!
* The new shiny server is a Linode. If you're signing up for a Linode and don't have any friends with referral codes, you can use mine: http://www.linode.com/?r=8deff7b7d89fc12b559a1013a1cc2bb823b7fd08 - this blog is hosted there and it all helps!