Adds php extensions for apc and curl