feat(prerequisite): Check required PHP extensions in rc/init script (closes #4670)