Add action hooks.

This will fix the files directory, and always try to set apc.shm_size to 160 megabytes if `$OPENSHIFT_PHP_APC_SHM_SIZE` has not yet been set up.