PHP cookbook: use APC package from pear instead of distro repo

- Because distro-provided APC package sometimes causes PHP to hang
- Use platform_family instead of node['platform']
- Raise NotImplementedError if platform is not supported