require apache before changing lib file permissons