Clear apc/opcache depending on php version